Changeset d5497a2e


Ignore:
Timestamp:
06/06/2016 04:26:43 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
a6ccf19
Parents:
22f9c48
Message:

[Systemd merge] - general/sysutils part 1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17452 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
general/sysutils
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/acpid.xml

    r22f9c48 rd5497a2e  
    145145
    146146    <sect3  id="acpid-init">
    147       <title>Boot Script</title>
    148 
    149       <para>
     147      <title><phrase revision="sysv">Boot Script</phrase>
     148             <phrase revision="systemd">Systemd Socket</phrase></title>
     149
     150      <para revision="sysv">
    150151        To automatically start <command>acpid</command> when the system is
    151152        rebooted, install the <filename>/etc/rc.d/init.d/acpid</filename>
    152         boot script from the <xref linkend="bootscripts" revision="sysv"/>
    153         <xref linkend="systemd-units" revision="systemd"/> package.
     153        boot script from the <xref linkend="bootscripts"/> package.
     154      </para>
     155
     156      <para revision="systemd">
     157        To start the <command>acpid</command> daemon at boot,
     158        install the systemd unit from the <xref linkend="systemd-units"/>
     159        package by running the following command as the
     160        <systemitem class="username">root</systemitem> user:
    154161      </para>
    155162
     
    159166
    160167<screen role="root"><userinput>make install-acpid</userinput></screen>
     168
     169      <note revision="systemd">
     170        <para>
     171          This package uses socket based activation and will be started when
     172          something needs it. No standalone unit file is provided for this
     173          package.
     174        </para>
     175      </note>
    161176
    162177    </sect3>
  • general/sysutils/at.xml

    r22f9c48 rd5497a2e  
    110110    commands:</para>
    111111
    112     <screen><userinput>./configure --with-daemon_username=atd        \
     112    <screen revision="sysv"><userinput>./configure --with-daemon_username=atd        \
    113113            --with-daemon_groupname=atd       \
    114114            SENDMAIL=/usr/sbin/sendmail       &amp;&amp;
    115115
    116116make</userinput></screen>
     117
     118    <screen revision="systemd"><userinput>./configure --with-daemon_username=atd        \
     119            --with-daemon_groupname=atd       \
     120            SENDMAIL=/usr/sbin/sendmail       \
     121            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
     122
     123make -j1</userinput></screen>
    117124
    118125    <para>This package does not come with a test suite.</para>
     
    147154
    148155    <sect3  id="at-init">
    149       <title>Boot Script</title>
    150 
    151       <para>Install the <filename>/etc/init.d/atd</filename> init script from
    152       the <xref linkend="bootscripts" revision="sysv"/>
    153       <xref linkend="systemd-units" revision="systemd"/> package.</para>
     156      <title><phrase revision="sysv">Boot Script</phrase>
     157             <phrase revision="systemd">Systemd Unit</phrase></title>
     158
     159      <para revision="sysv">Install the <filename>/etc/init.d/atd</filename>
     160      init script from the <xref linkend="bootscripts"/> package.</para>
     161
     162      <para revision="systemd">
     163        To start the <command>atd</command> daemon at boot,
     164        enable the previously installed systemd unit by
     165        running the following command as the
     166        <systemitem class="username">root</systemitem> user:
     167      </para>
    154168
    155169      <indexterm zone="at at-init">
     
    157171      </indexterm>
    158172
    159 <screen role="root"><userinput>make install-atd</userinput></screen>
     173<screen role="root" revision="sysv"><userinput>make install-atd</userinput></screen>
     174
     175<screen role="root" revision="systemd"><userinput>systemctl enable atd</userinput></screen>
    160176
    161177    </sect3>
  • general/sysutils/autofs.xml

    r22f9c48 rd5497a2e  
    112112    commands:</para>
    113113
    114 <screen><userinput>./configure --prefix=/         \
     114<screen revision="sysv"><userinput>./configure --prefix=/         \
    115115            --without-openldap \
    116116            --mandir=/usr/share/man &amp;&amp;
    117117make</userinput></screen>
    118118
     119<screen revision="systemd"><userinput>./configure --prefix=/         \
     120            --with-systemd     \           
     121            --without-openldap \
     122            --mandir=/usr/share/man &amp;&amp;
     123make</userinput></screen>
     124
    119125    <para>This package does not come with a test suite.</para>
    120126
     
    127133  <sect2 role="commands">
    128134    <title>Command Explanations</title>
     135
     136    <para revision="systemd">
     137      <parameter>--with-systemd</parameter>: This switch enables installation
     138      of the bundled systemd units.
     139    </para>
    129140
    130141    <para>
     
    244255
    245256    <sect3  id="autofs-init">
    246       <title>Boot Script</title>
    247 
    248       <para> <application>autofs</application> installs its own boot script,
    249       but it has no capability for logging or visual conformance with other
    250       BLFS scripts.</para>
    251 
    252       <para>Install the <filename>/etc/init.d/autofs</filename> mount script
    253       included with the <xref linkend="bootscripts" revision="sysv"/>
    254       <xref linkend="systemd-units" revision="systemd"/> package.</para>
     257      <title><phrase revision="sysv">Boot Script</phrase>
     258             <phrase revision="systemd">Systemd Unit</phrase></title>
     259
     260      <para revision="sysv"><application>autofs</application> installs its own
     261      boot script, but it has no capability for logging or visual conformance
     262      with other BLFS scripts.</para>
     263
     264      <para revision="sysv">Install the <filename>/etc/init.d/autofs</filename>
     265      mount script included with the <xref linkend="bootscripts"/>
     266      package.</para>
     267
     268      <para revision="systemd">
     269        To start <application>Autofs</application> at boot, enable the
     270        previously installed systemd unit by running the following command as
     271        the <systemitem class="username">root</systemitem> user:
     272      </para>
    255273
    256274      <indexterm zone="autofs autofs-init">
     
    258276      </indexterm>
    259277
    260 <screen role="root"><userinput>make install-autofs</userinput></screen>
    261 
    262       <para>The time-out variable is set in
     278<screen role="root" revision="sysv"><userinput>make install-autofs</userinput></screen>
     279
     280<screen role="root" revision="systemd"><userinput>systemctl enable autofs</userinput></screen>
     281
     282      <para revision="sysv">The time-out variable is set in
    263283      <filename>/etc/sysconfig/autofs.conf</filename>. The installed file sets
    264284      a default of 60 seconds of inactivity before unmounting the device.  A
    265285      much shorter time may be necessary to protect buffer writing to a floppy
    266286      if users tend to remove the media prior to the timeout setting.</para>
     287
     288      <note revision="systemd">
     289        <para>
     290          You can also specify <envar>OPTIONS</envar> variable in the
     291          <filename>/etc/sysconfig/autofs</filename> file with any additional
     292          parameters that you might want to pass to the automount daemon.
     293        </para>
     294      </note>
    267295
    268296    </sect3>
  • general/sysutils/bluez.xml

    r22f9c48 rd5497a2e  
    138138    </para>
    139139
    140 <screen><userinput>./configure --prefix=/usr         \
     140<screen revision="sysv"><userinput>./configure --prefix=/usr         \
    141141            --sysconfdir=/etc     \
    142142            --localstatedir=/var  \
     
    145145make</userinput></screen>
    146146
     147<screen revision="systemd"><userinput>./configure --prefix=/usr         \
     148            --sysconfdir=/etc     \
     149            --localstatedir=/var  \
     150            --enable-library      &amp;&amp;
     151make</userinput></screen>
     152
    147153    <para>
    148154      To test the results, issue: <userinput>make check</userinput>.
     
    184190    </para>
    185191
    186     <para>
     192    <para revision="sysv">
    187193      <parameter>--disable-systemd</parameter>: This switch is needed because
    188194      <application>systemd</application> is not part of LFS/BLFS. If you are
     
    237243
    238244    <sect3  id="bluez-init">
    239       <title>Boot Script</title>
    240 
    241       <para>
     245      <title><phrase revision="sysv">Boot Script</phrase>
     246             <phrase revision="systemd">Systemd Socket</phrase></title>
     247
     248      <para revision="sysv">
    242249        To automatically start the <command>bluetoothd</command> daemon when the
    243250        system is rebooted, install the
    244251        <filename>/etc/rc.d/init.d/bluetooth</filename> bootscript from the
    245         <xref linkend="bootscripts" revision="sysv"/>
    246         <xref linkend="systemd-units" revision="systemd"/> package.
     252        <xref linkend="bootscripts"/> package.
     253      </para>
     254
     255      <para revision="systemd">
     256        To start the <command>bluetoothd</command> daemon at boot,
     257        enable the previously installed systemd unit by
     258        running the following command as the
     259        <systemitem class="username">root</systemitem> user:
    247260      </para>
    248261
     
    251264      </indexterm>
    252265
    253 <screen role="root"><userinput>make install-bluetooth</userinput></screen>
     266<screen role="root" revision="sysv"><userinput>make install-bluetooth</userinput></screen>
     267
     268<screen role="root" revision="systemd"><userinput>systemctl enable bluetooth</userinput></screen>
     269
     270      <note revision="systemd">
     271        <para>
     272          <application>Systemd</application> will start the Bluetooth daemon
     273          only when a bluetooth device is detected on the system.
     274        </para>
     275      </note>
    254276
    255277    </sect3>
Note: See TracChangeset for help on using the changeset viewer.