Changeset bdbc765b for general/sysutils


Ignore:
Timestamp:
07/20/2014 12:26:55 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
systemd-11177
Children:
7de9746
Parents:
7edfe43
Message:

Begin merging Christophers work into systemd branch part 3.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13490 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
general/sysutils
Files:
1 edited
5 moved

Legend:

Unmodified
Added
Removed
  • general/sysutils/acpid-systemd.xml

    r7edfe43 rbdbc765b  
    142142
    143143    <sect3  id="acpid-init">
    144       <title>Boot Script</title>
     144      <title>Systemd Unit</title>
    145145
    146146      <para>
    147147        To automatically start <command>acpid</command> when the system is
    148         rebooted, install the <filename>/etc/rc.d/init.d/acpid</filename>
    149         boot script from the <xref linkend="bootscripts"/> package.
     148        rebooted, install the systemd unit
     149        from the <xref linkend="bootscripts"/> package.
    150150      </para>
    151151
     
    155155
    156156<screen role="root"><userinput>make install-acpid</userinput></screen>
     157
     158      <note>
     159        <para>
     160          This package uses socket based activation and will be started when
     161          something needs it. No standalone unit file is provided for this
     162          package.
     163        </para>
     164      </note>
    157165
    158166    </sect3>
  • general/sysutils/at-systemd.xml

    r7edfe43 rbdbc765b  
    107107            --with-daemon_username=atd        \
    108108            --with-daemon_groupname=atd       \
    109             SENDMAIL=/usr/sbin/sendmail &amp;&amp;
     109            SENDMAIL=/usr/sbin/sendmail       \
     110            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
    110111make -j1</userinput></screen>
    111112
     
    139140
    140141    <sect3  id="at-init">
    141       <title>Boot Script</title>
    142 
    143       <para>Install the <filename>/etc/init.d/atd</filename> init script from
    144       the <xref linkend="bootscripts"/> package.</para>
     142      <title>Systemd Unit</title>
     143
     144      <para>To start the <command>atd</command> daemon at boot,
     145      enable the previously installed systemd unit by running
     146      the following command as the
     147      <systemitem class="username">root</systemitem> user:</para>
    145148
    146149      <indexterm zone="at at-init">
     
    148151      </indexterm>
    149152
    150 <screen role="root"><userinput>make install-atd</userinput></screen>
     153<screen role="root"><userinput>systemctl enable atd</userinput></screen>
    151154
    152155    </sect3>
  • general/sysutils/autofs-systemd.xml

    r7edfe43 rbdbc765b  
    115115
    116116./configure --prefix=/         \
     117            --with-systemd     \
    117118            --without-openldap \
    118119            --mandir=/usr/share/man &amp;&amp;
     
    136137
    137138    <para>
    138       <option>--with-libtirpc</option>: This switch enables libtirpc support if
    139       available.
     139      <option>--with-systemd</option>: This switch enables installation of the
     140      systemd units.
    140141    </para>
    141142
     
    253254      <title>Boot Script</title>
    254255
    255       <para> <application>autofs</application> installs its own boot script,
    256       but it has no capability for logging or visual conformance with other
    257       BLFS scripts.</para>
    258 
    259       <para>Install the <filename>/etc/init.d/autofs</filename> mount script
    260       included with the <xref linkend="bootscripts"/> package.</para>
     256      <para>To start the <application>Autofs</application> at boot,
     257      enable the previously installed systemd unit by running
     258      the following command as the
     259      <systemitem class="username">root</systemitem> user:</para>
     260
    261261
    262262      <indexterm zone="autofs autofs-init">
     
    264264      </indexterm>
    265265
    266 <screen role="root"><userinput>make install-autofs</userinput></screen>
    267 
    268       <para>The time-out variable is set in
    269       <filename>/etc/sysconfig/autofs.conf</filename>. The installed file sets
    270       a default of 60 seconds of inactivity before unmounting the device.  A
    271       much shorter time may be necessary to protect buffer writing to a floppy
    272       if users tend to remove the media prior to the timeout setting.</para>
     266<screen role="root"><userinput>systemctl enable autofs</userinput></screen>
     267
     268      <note>
     269        <para>
     270          You can also specify <envar>OPTIONS</envar> variable in
     271          <filename>/etc/sysconfig/autofs</filename> with  any additional
     272          parameters that you might want to pass to the automount daemon.
     273        </para>
     274      </note>
    273275
    274276    </sect3>
  • general/sysutils/bluez-systemd.xml

    r7edfe43 rbdbc765b  
    144144            --sysconfdir=/etc     \
    145145            --localstatedir=/var  \
    146             --enable-library      \
    147             --disable-systemd     &amp;&amp;
     146            --enable-library &amp;&amp;
    148147make</userinput></screen>
    149148
     
    156155    </para>
    157156
    158 <screen role="root"><userinput>make install &amp;&amp;
    159 ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin</userinput></screen>
     157<screen role="root"><userinput>make install</userinput></screen>
    160158
    161159    <para>
     
    185183      <application>BlueZ</application> 4 compatibility library which is required by
    186184      some applications.
    187     </para>
    188 
    189     <para>
    190       <parameter>--disable-systemd</parameter>: This switch is needed because
    191       <application>systemd</application> is not part of LFS/BLFS. If you are
    192       using systemd, remove this switch.
    193     </para>
    194 
    195     <para>
    196       <command>ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin</command>:
    197       This command makes access to the bluetooth daemon more convenient.
    198185    </para>
    199186
     
    243230      <para>
    244231        To automatically start the <command>bluetoothd</command> daemon when the
    245         system is rebooted, install the
    246         <filename>/etc/rc.d/init.d/bluetooth</filename> bootscript from the
    247         <xref linkend="bootscripts"/> package.
     232        system is rebooted, enable the previously installed systemd unit by
     233        running the following command as the
     234        <systemitem class="username">root</systemitem> user:
    248235      </para>
    249236
     
    252239      </indexterm>
    253240
    254 <screen role="root"><userinput>make install-bluetooth</userinput></screen>
     241<screen role="root"><userinput>systemctl enable bluetooth</userinput></screen>
     242
     243      <note>
     244        <para>
     245          The bluetooth daemon will only start when a bluetooth device has been detected
     246          on the system.
     247        </para>
     248      </note>
    255249
    256250    </sect3>
  • general/sysutils/colord-systemd.xml

    r7edfe43 rbdbc765b  
    8484    </para>
    8585
    86     <bridgehead renderas="sect4">Required (for the tests)</bridgehead>
    87     <para role="required">
    88       <xref linkend="valgrind"/>
    89     </para>
    90 
    9186    <bridgehead renderas="sect4">Recommended</bridgehead>
    9287    <para role="recommended">
    9388      <xref linkend="libgusb"/>,
    94       <xref linkend="udev-extras"/> (for GUdev),
     89      <xref linkend="gobject-introspection"/>,
    9590      <xref linkend="polkit"/>,
    96       <xref linkend="gobject-introspection"/>, and
     91      <xref linkend="systemd"/> (for GUdev and Logind) and
    9792      <xref linkend="vala"/>
    9893    </para>
     
    106101      <xref linkend="docbook-utils"/>,
    107102      <xref linkend="gtk-doc"/>,
    108       <xref linkend="libxslt"/> and
    109       <xref linkend="sane"/>
     103      <xref linkend="libxslt"/>,
     104      <xref linkend="sane"/>, and
     105      <xref linkend="valgrind"/> (required for the tests)
    110106    </para>
    111107
     
    139135            --with-daemon-user=colord    \
    140136            --enable-vala                \
    141             --enable-systemd-login=no    \
    142137            --disable-bash-completion    \
    143138            --disable-static             \
    144             --with-systemdsystemunitdir=no &amp;&amp;
     139            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
    145140make</userinput></screen>
    146141
     
    164159
    165160    <para>
    166       <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes
    167       building without <application>systemd</application>, which is not part
    168       of LFS/BLFS. If you use <application>systemd</application>,
    169       replace "no" by "yes".
    170     </para>
    171 
    172     <para>
    173161      <parameter>--with-daemon-user=colord</parameter>: This
    174162      switch is used so the <command>colord</command> daemon
     
    189177    </para>
    190178
    191     <para>
    192       <option>--disable-systemd-login</option>: This switch prevents
    193       <command>configure</command> to look for
    194       <application>Systemd</application> libraries.
    195     </para>
    196 
    197     <para>
    198       <option>--with-systemdsystemunitdir=no</option>: Disable
    199       attempting to build with systemd libraries.
    200     </para>
    201 
    202179    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    203180      href="../../xincludes/static-libraries.xml"/>
     
    212189
    213190    <para>
    214       <option>--disable-gudev</option>: Use this switch if you don't have GUdev
    215       installed.
     191      <option>--disable-gudev</option>: Use this switch if you don't have
     192      GUdev installed.
    216193    </para>
    217194
  • general/sysutils/sysutils.xml

    r7edfe43 rbdbc765b  
    2020  installation or configuration purposes.</para>
    2121
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="acpid.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="at.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autofs.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bluez.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="colord.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="acpid-systemd.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="at-systemd.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autofs-systemd.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bluez-systemd.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="colord-systemd.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cpio.xml"/>
    2828  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/>
Note: See TracChangeset for help on using the changeset viewer.