Changeset 52e5650b for general


Ignore:
Timestamp:
10/26/2014 06:08:49 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
da3d42d
Parents:
d5169f16
Message:

Conversion, Additions and Updates to system utilities section, completing general section entirely.

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

Location:
general/sysutils
Files:
3 added
1 deleted
4 edited
11 moved

Legend:

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

    rd5169f16 r52e5650b  
    132132/usr/sbin/pm-suspend</literal>
    133133EOF
    134 chmod +x /etc/acpi/lid.sh</userinput></screen>
     134chmod -v 755 /etc/acpi/lid.sh</userinput></screen>
    135135
    136136    <para>
     
    142142
    143143    <sect3  id="acpid-init">
    144       <title>Boot Script</title>
     144      <title>Systemd Units</title>
    145145
    146146      <para>
    147         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.
     147        To start the <command>acpid</command> daemon at boot,
     148        install the systemd unit from the <xref linkend="bootscripts"/>
     149        package by running the following command as the
     150        <systemitem class="username">root</systemitem> user:
    150151      </para>
    151152
     
    155156
    156157<screen role="root"><userinput>make install-acpid</userinput></screen>
     158
     159      <note>
     160        <para>
     161          This package uses socket based activation and will be started when
     162          something needs it. No standalone unit file is provided for this
     163          package.
     164        </para>
     165      </note>
    157166
    158167    </sect3>
  • general/sysutils/at-systemd.xml

    rd5169f16 r52e5650b  
    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 Units</title>
     143
     144      <para>
     145        To start the <command>atd</command> daemon at boot,
     146        enable the previously installed systemd unit by
     147        running the following command as the
     148        <systemitem class="username">root</systemitem> user:
     149      </para>
    145150
    146151      <indexterm zone="at at-init">
     
    148153      </indexterm>
    149154
    150 <screen role="root"><userinput>make install-atd</userinput></screen>
     155<screen role="root"><userinput>systemctl enable atd</userinput></screen>
    151156
    152157    </sect3>
  • general/sysutils/autofs-systemd.xml

    rd5169f16 r52e5650b  
    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      <parameter>--with-systemd</parameter>: This switch enables installation of
     140      the bundled systemd units.
    140141    </para>
    141142
     
    251252
    252253    <sect3  id="autofs-init">
    253       <title>Boot Script</title>
    254 
    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>
     254      <title>Systemd Units</title>
     255
     256      <para>
     257        To start the <application>Autofs</application> at boot,
     258        enable the previously installed systemd unit by
     259        running the following command as the
     260        <systemitem class="username">root</systemitem> user:
     261      </para>
    261262
    262263      <indexterm zone="autofs autofs-init">
     
    264265      </indexterm>
    265266
    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>
     267<screen role="root"><userinput>systemctl enable autofs</userinput></screen>
     268
     269      <note>
     270        <para>
     271          You can also specify <envar>OPTIONS</envar> variable in the
     272          <filename>/etc/sysconfig/autofs</filename> file with any additional
     273          parameters that you might want to pass to the automount daemon.
     274        </para>
     275      </note>
    273276
    274277    </sect3>
  • general/sysutils/bluez-systemd.xml

    rd5169f16 r52e5650b  
    99  <!ENTITY bluez-md5sum        "37b785185fb98269b45e51b254bd8d3d">
    1010  <!ENTITY bluez-size          "1.4 MB">
    11   <!ENTITY bluez-buildsize     "57 MB (additional 17 MB for the tests)">
    12   <!ENTITY bluez-time          "0.5 SBU (additional 0.2 SBU for the tests)">
     11  <!ENTITY bluez-buildsize     "72 MB (additional 17 MB for the tests)">
     12  <!ENTITY bluez-time          "0.5 SBU (additional 0.2 SBU for the tests)"> 
    1313]>
    1414
     
    7575        <listitem>
    7676          <para>
    77              Optional patch (required to work properly with gnome-bluetooth
    78              and/or kde bluedevil):
     77             Required patch:
    7978            <ulink url="&patch-root;/bluez-&bluez-version;-obexd_without_systemd-1.patch"/>
    8079          </para>
     
    130129
    131130    <para>
    132       If you are going to use <application>BlueZ</application> with
    133       gnome-bluetooth and/or kde bluedevil, apply the following patch:
    134     </para>
    135 
    136 <screen><userinput>patch -Np1 -i ../bluez-&bluez-version;-obexd_without_systemd-1.patch</userinput></screen>
    137 
    138     <para>
    139131      Install <application>BlueZ</application> by running the following
    140132      commands:
    141133    </para>
    142134
    143 <screen><userinput>./configure --prefix=/usr         \
     135<screen><userinput>patch -Np1 -i ../bluez-&bluez-version;-obexd_without_systemd-1.patch &amp;&amp;
     136./configure --prefix=/usr         \
    144137            --sysconfdir=/etc     \
    145138            --localstatedir=/var  \
    146             --enable-library      \
    147             --disable-systemd     &amp;&amp;
     139            --enable-library &amp;&amp;
    148140make</userinput></screen>
    149141
     
    156148    </para>
    157149
    158 <screen role="root"><userinput>make install &amp;&amp;
    159 ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin</userinput></screen>
     150<screen role="root"><userinput>make install</userinput></screen>
    160151
    161152    <para>
     
    176167
    177168  </sect2>
    178 
    179169
    180170  <sect2 role="commands">
     
    187177    </para>
    188178
    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.
    198     </para>
    199 
    200179  </sect2>
    201180
     
    206185      <title>Configuration Files</title>
    207186      <para>
    208         <filename>/etc/bluetooth/main.conf</filename> is installed automatically
    209         during the install.  Additionally, there are three supplementary
    210         configuration files.  /etc/sysconfig/bluetooth is installed as a part
    211         of the boot script below.  In addition, you optionally can install the
    212         following, as the <systemitem class="username">root</systemitem> user:
     187        <filename>/etc/bluetooth/main.conf</filename> is installed
     188        automatically during the install. Additionally, there are
     189        two supplementary configuration files that you can install
     190        by running the following commands as the
     191        <systemitem class="username">root</systemitem> user:
    213192      </para>
    214193       
     
    219198# See the rfcomm man page for options
    220199
    221 
    222200# End of rfcomm.conf</literal>
    223201EOF</screen>
     
    237215      </indexterm>
    238216
     217      <indexterm zone="bluez bluez-config">
     218        <primary
     219        sortas="e-etc-bluetooth-rfcomm.conf">/etc/bluetooth/rfcomm.conf</primary>
     220      </indexterm>
     221
     222      <indexterm zone="bluez bluez-config">
     223        <primary
     224        sortas="e-etc-bluetooth-uart.conf">/etc/bluetooth/uart.conf</primary>
     225      </indexterm>
     226
    239227    </sect3>
    240228
    241229    <sect3  id="bluez-init">
    242       <title>Boot Script</title>
     230      <title>Systemd Units</title>
    243231
    244232      <para>
    245         To automatically start the <command>bluetoothd</command> daemon when the
    246         system is rebooted, install the
    247         <filename>/etc/rc.d/init.d/bluetooth</filename> bootscript from the
    248         <xref linkend="bootscripts"/> package.
     233        To start the <command>bluetoothd</command> daemon at boot,
     234        enable the previously installed systemd unit by
     235        running the following command as the
     236        <systemitem class="username">root</systemitem> user:
    249237      </para>
    250238
     
    253241      </indexterm>
    254242
    255 <screen role="root"><userinput>make install-bluetooth</userinput></screen>
     243<screen role="root"><userinput>systemctl enable bluetooth</userinput></screen>
     244
     245      <note>
     246        <para>
     247          <application>Systemd</application> will start the Bluetooth daemon
     248          only when a bluetooth device is detected on the system.
     249        </para>
     250      </note>
    256251
    257252    </sect3>
  • general/sysutils/colord-systemd.xml

    rd5169f16 r52e5650b  
    99  <!ENTITY colord-download-ftp  " ">
    1010  <!ENTITY colord-md5sum        "d0a9c8e29374b6330455fb8902c8f246">
    11   <!ENTITY colord-size          "1.2 MB">
    12   <!ENTITY colord-buildsize     "32 MB (additional 3 MB to build and install the API documentation, and 3 MB for the tests)">
    13   <!ENTITY colord-time          "0.5 SBU (additional 0.2 SBU for the tests)">
     11  <!ENTITY colord-size          "1.1 MB">
     12  <!ENTITY colord-buildsize     "32 MB">
     13  <!ENTITY colord-time          "0.5 SBU">
    1414]>
    1515
     
    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">
     
    9489      <xref linkend="gobject-introspection"/>,
    9590      <xref linkend="polkit"/>,
    96       <xref linkend="systemd"/> (for GUdev), and
     91      <xref linkend="systemd"/> (for GUdev and Logind) and
    9792      <xref linkend="vala"/>
    9893    </para>
     
    10095    <bridgehead renderas="sect4">Optional</bridgehead>
    10196    <para role="optional">
    102       <xref linkend="gnome-desktop"/> and
     97      <ulink url="http://bash-completion.alioth.debian.org/">Bash Completion</ulink>,
    10398      <ulink url="http://www.freedesktop.org/software/colord/releases/">
    104       colord-gtk</ulink> (to build the example tools),
     99      colord-gtk</ulink> and <xref linkend="gnome-desktop"/>
     100      (To build the example tools),
    105101      <xref linkend="docbook-utils"/>,
    106102      <xref linkend="gtk-doc"/>,
    107103      <xref linkend="libxslt"/>,
    108       <xref linkend="sane"/>,
    109       <xref linkend="valgrind"/> (required for the tests), and
    110       <ulink url="http://bash-completion.alioth.debian.org/">Bash Completion</ulink>,
     104      <xref linkend="sane"/>, and
     105      <xref linkend="valgrind"/> (required for the tests)
    111106    </para>
    112107
     
    140135            --with-daemon-user=colord    \
    141136            --enable-vala                \
    142             --enable-systemd-login=no    \
    143137            --disable-bash-completion    \
    144             --disable-static             \
    145             --with-systemdsystemunitdir=no &amp;&amp;
     138            --disable-static &amp;&amp;
    146139make</userinput></screen>
    147140
     
    153146
    154147    <para>
    155       To test the results, issue: <command>make -k check</command>. For unknown
    156       reasons, some tests may fail. Note that system-wide
     148      To test the results, make sure you have installed
     149      <xref linkend="valgrind"/> and issue: <command>make -k check</command>.
     150      Some tests may fail for unknown reasons. Note that system-wide
    157151      <application>D-Bus</application> daemon must be running or the tests
    158152      will fail.
     
    163157  <sect2 role="commands">
    164158    <title>Command Explanations</title>
    165 
    166     <para>
    167       <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes
    168       building without <application>systemd</application>, which is not part
    169       of LFS/BLFS. If you use <application>systemd</application>,
    170       replace "no" by "yes".
    171     </para>
    172159
    173160    <para>
     
    190177    </para>
    191178
    192     <para>
    193       <option>--disable-systemd-login</option>: This switch prevents
    194       <command>configure</command> to look for
    195       <application>Systemd</application> libraries.
    196     </para>
    197 
    198     <para>
    199       <option>--with-systemdsystemunitdir=no</option>: Disable
    200       attempting to build with systemd libraries.
    201     </para>
    202 
    203179    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    204180      href="../../xincludes/static-libraries.xml"/>
     
    206182    <para>
    207183      <option>--enable-gtk-doc</option>: Use this switch if
    208       <application>GTK-Doc</application> is installed and you wish to build
    209       and install the API documentation.
     184      <application>GTK-Doc</application> is installed and you wish to
     185      build and install the API documentation.
    210186    </para>
    211187
     
    216192
    217193    <para>
    218       <option>--disable-gudev</option>: Use this switch if you don't have GUdev
    219       installed.
     194      <option>--disable-gudev</option>: Use this switch if you don't have
     195      GUdev installed.
    220196    </para>
    221197
     
    245221        <seg>
    246222          /usr/include/colord-1,
     223          /usr/lib/colord,
    247224          /usr/lib/colord-plugins,
    248225          /usr/lib/colord-sensors,
  • general/sysutils/fcron-systemd.xml

    rd5169f16 r52e5650b  
    8787    <title>Installation of Fcron</title>
    8888
    89     <para id="fcron-syslog"><application>Fcron</application> uses the cron facility
     89<!--    <para id="fcron-syslog"><application>Fcron</application> uses the cron facility
    9090    of <command>syslog</command> to log all messages. Since LFS
    9191    does not set up this facility in <filename>/etc/syslog.conf</filename>, it
     
    111111    <systemitem class='username'>root</systemitem> user).</para>
    112112
    113 <screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>
     113<screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen> -->
    114114
    115115    <para>For security reasons, an unprivileged user and group for
     
    127127            --localstatedir=/var   \
    128128            --without-sendmail     \
    129             --with-boot-install=no \
    130             --with-systemdsystemunitdir=no &amp;&amp;
     129            --without-boot-install &amp;&amp;
    131130make</userinput></screen>
    132131
     
    156155    command&gt;</replaceable></option> to use a different mailer command.</para>
    157156
    158     <para><parameter>--with-boot-install=no</parameter>: This prevents
     157    <para><parameter>--without-boot-install</parameter>: This prevents
    159158    installation of the bootscript included with the package.</para>
    160 
    161     <para><parameter>--with-systemdsystemunitdir=no|yes|DIR</parameter>: Use
    162     no, if you use sysvint; yes, if you use systemd, or specify the directory
    163     DIR for the systemd units.</para>
    164159
    165160    <para><option>--with-editor=<replaceable>&lt;/path/to/editor&gt;</replaceable></option>:
     
    227222
    228223    <sect3  id="fcron-init">
    229       <title>Boot Script</title>
    230 
    231       <para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
    232       init script from the <xref linkend="bootscripts"/>
    233       package.</para>
     224      <title>Systemd Units</title>
     225
     226      <para>
     227        To start the <command>fcron</command> daemon at boot,
     228        enable the previously installed systemd unit by
     229        running the following command as the
     230        <systemitem class="username">root</systemitem> user:
     231      </para>
    234232
    235233      <indexterm zone="fcron fcron-init">
     
    237235      </indexterm>
    238236
    239 <screen role="root"><userinput>make install-fcron</userinput></screen>
     237<screen role="root"><userinput>systemctl enable fcron</userinput></screen>
    240238
    241239    </sect3>
  • general/sysutils/gpm-systemd.xml

    rd5169f16 r52e5650b  
    118118
    119119    <sect3 id="gpm-init">
    120       <title>Boot Script</title>
     120      <title>Systemd Units</title>
    121121
    122122      <indexterm zone="gpm gpm-init">
     
    124124      </indexterm>
    125125
    126       <para>Install the <filename>/etc/rc.d/init.d/gpm</filename> init script
    127       included in the <xref linkend="bootscripts"/> package.</para>
     126      <para>
     127        To start the <command>gpm</command> daemon at boot,
     128        install the systemd unit from the <xref linkend="bootscripts"/>
     129        package by running the following command as the
     130        <systemitem class="username">root</systemitem> user:
     131      </para>
    128132
    129133<screen role="root"><userinput>make install-gpm</userinput></screen>
     
    138142      <command>gpm-root</command> configuration files.</para>
    139143
    140       <para><filename>/etc/sysconfig/mouse</filename>:
    141       This file contains the name of your mouse device and the protocol
    142       it uses.  To create this file, run the following as the
    143       <systemitem class="username">root</systemitem> user:</para>
    144 
    145 <screen role="root"><userinput>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"
    146 <literal># Begin /etc/sysconfig/mouse
    147 
    148 MDEVICE="<replaceable>&lt;yourdevice&gt;</replaceable>"
    149 PROTOCOL="<replaceable>&lt;yourprotocol&gt;</replaceable>"
    150 GPMOPTS="<replaceable>&lt;additional options&gt;</replaceable>"
    151 
    152 # End /etc/sysconfig/mouse</literal>
    153 EOF</userinput></screen>
    154 
    155144      <indexterm zone="gpm gpm-config">
    156145        <primary sortas="e-AA.gpm-root">~/.gpm-root</primary>
     
    161150      </indexterm>
    162151
    163       <indexterm zone="gpm gpm-config">
    164         <primary sortas="e-etc-sysconfig-mouse">/etc/sysconfig/mouse</primary>
    165       </indexterm>
    166 
    167152    </sect3>
    168153
     
    170155      <title>Configuration Information</title>
    171156
    172       <para>Examples of values to set <envar>MDEVICE</envar>,
    173       <envar>PROTOCOL</envar>, and <envar>GPMOPTS</envar> to are:</para>
    174 
    175 <screen><literal>MDEVICE="/dev/psaux"
    176 PROTOCOL="imps2"
    177 GPMOPTS=""</literal></screen>
    178 
    179       <para>A list of which protocol values are known can be found by running
    180       <command>gpm -m <replaceable>[device]</replaceable> -t -help</command>.
    181       The <envar>MDEVICE</envar> setting depends on which type of mouse you
    182       have.  For example, <filename>/dev/ttyS0</filename> for a serial mouse
    183       (on Windows this is COM1), <filename>/dev/input/mice</filename> is often
    184       used for USB mice and <filename>/dev/psaux</filename> for PS2 mice.
    185       <envar>GPMOPTS</envar> is the 'catch all' for any additional options that
    186       are needed for your hardware.</para>
     157      <para>
     158        <application>GPM</application> is by default started with
     159        the following parameters:
     160        <parameter>-m /dev/input/mice -t imps2</parameter>. If the
     161        mentioned parameters don't suit your needs, you can override
     162        them by running the following the following commands as
     163        the <systemitem class="username">root</systemitem> user:
     164      </para>
     165
     166<screen role="root"><userinput>install -v -dm755 /etc/systemd/system/gpm.service.d
     167echo "ExecStart=/usr/sbin/gpm &lt;list of parameters&gt;" > /etc/systemd/system/gpm.service.d/99-user.conf</userinput></screen>
    187168
    188169    </sect3>
  • general/sysutils/logrotate.xml

    rd5169f16 r52e5650b  
    177177EOF
    178178
    179 chmod -v 0644 /etc/logrotate.conf</userinput></screen>
    180 
    181     <para>Now create the <filename class='directory'>/etc/logrotate.d</filename>
     179chmod -v 644 /etc/logrotate.conf</userinput></screen>
     180
     181    <para>Now create the <filename class="directory">/etc/logrotate.d</filename>
    182182    directory as the  <systemitem class="username">root</systemitem> user:</para>
    183183
    184 <screen role="root"><userinput> mkdir -p /etc/logrotate.d</userinput></screen>
     184<screen role="root"><userinput>mkdir -p /etc/logrotate.d</userinput></screen>
    185185
    186186  <para>At this point additional log rotation commands can be entered, typically
    187   in the <filename class='directory'>/etc/logrotate.d</filename> directory.
     187  in the <filename class="directory">/etc/logrotate.d</filename> directory.
    188188  For example:</para>
    189189
     
    200200EOF
    201201
    202 chmod -v 0644 /etc/logrotate.d/sys.log</userinput></screen>
     202chmod -v 644 /etc/logrotate.d/sys.log</userinput></screen>
    203203
    204204  <para>You can designate multiple files in one entry:</para>
     
    215215EOF
    216216
    217 chmod -v 0644 /etc/logrotate.d/example.log</userinput></screen>
     217chmod -v 644 /etc/logrotate.d/example.log</userinput></screen>
    218218
    219219  <para>You can use in the same line the list of files: file1 file2 file3.
    220220  See the logrotate man page or
    221   <ulink url='http://www.techrepublic.com/article/manage-linux-log-files-with-logrotate/'/>
     221  <ulink url="http://www.techrepublic.com/article/manage-linux-log-files-with-logrotate/"/>
    222222  for more examples.</para>
    223223
     
    232232  because they are not actually created.</para>
    233233
    234   <para>To set up <xref linkend='fcron'/> to run
     234  <para>To set up <xref linkend="fcron"/> to run
    235235  <command>logrotate ...</command> at 3AM daily, root's crontab should be
    236236  edited to add:</para>
  • general/sysutils/pm-utils.xml

    rd5169f16 r52e5650b  
    125125<screen role="root"><userinput>install -v -m644 man/*.1 /usr/share/man/man1 &amp;&amp;
    126126install -v -m644 man/*.8 /usr/share/man/man8 &amp;&amp;
    127 ln -sv pm-action.8 /usr/share/man/man8/pm-suspend.8 &amp;&amp;
    128 ln -sv pm-action.8 /usr/share/man/man8/pm-hibernate.8 &amp;&amp;
    129 ln -sv pm-action.8 /usr/share/man/man8/pm-suspend-hybrid.8</userinput></screen>
     127ln -sfv pm-action.8 /usr/share/man/man8/pm-suspend.8 &amp;&amp;
     128ln -sfv pm-action.8 /usr/share/man/man8/pm-hibernate.8 &amp;&amp;
     129ln -sfv pm-action.8 /usr/share/man/man8/pm-suspend-hybrid.8</userinput></screen>
    130130
    131131  </sect2>
  • general/sysutils/strigi.xml

    rd5169f16 r52e5650b  
    130130      <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
    131131      apply higher level of the compiler optimizations.
    132     </para>
    133 
    134     <para>
    135       <option>-DENABLE_DBUS=OFF</option>: Use this <command>cmake</command>
    136       variable if you don't have <application>D-Bus</application> installed.
    137132    </para>
    138133
  • general/sysutils/sysstat-systemd.xml

    rd5169f16 r52e5650b  
    9090<screen role="root"><userinput>make install</userinput></screen>
    9191
     92    <para>
     93      Install the systemd unit by running the following command as the
     94      <systemitem class="username">root</systemitem> user:
     95    </para>
     96
     97<screen role="root"><userinput>install -v -m644 sysstat.service /lib/systemd/system/sysstat.service</userinput></screen>
     98
    9299  </sect2>
    93100
     
    176183      <para>At system startup, a LINUX RESTART message must be inserted in the
    177184      daily data file to reinitialize the kernel counters. This can be
    178       automated by installing the <filename>/etc/rc.d/init.d/sysstat</filename>
    179       init script included in the <xref linkend="bootscripts"/>
    180       package using the following command as the
     185      automated by enabling the previously installed systemd unit
     186      by running the following command as the
    181187      <systemitem class="username">root</systemitem> user:</para>
    182188
    183 <screen role="root"><userinput>make install-sysstat</userinput></screen>
     189<screen role="root"><userinput>systemctl enable sysstat</userinput></screen>
    184190
    185191    </sect3>
  • general/sysutils/sysutils.xml

    rd5169f16 r52e5650b  
    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"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cups-pk-helper-systemd.xml"/>
    2829  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus-systemd.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fcron.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpm.xml"/>
     30  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fcron-systemd.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpm-systemd.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hdparm.xml"/>
    32   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="initdtools.xml"/>
    3333  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lm_sensors.xml"/>
    3434  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="logrotate.xml"/>
    3535  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mc.xml"/>
     36  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="modemmanager-systemd.xml"/>
    3637  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="obex-data-server.xml"/>
    3738  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="p7zip.xml"/>
     
    4445  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sg3_utils.xml"/>
    4546  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="strigi.xml"/>
    46   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysstat.xml"/>
     47  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysstat-systemd.xml"/>
    4748  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
    48   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udisks.xml"/>
    49   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udisks2.xml"/>
     49  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udisks-systemd.xml"/>
     50  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udisks2-systemd.xml"/>
    5051  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unrar.xml"/>
    5152  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unzip.xml"/>
    52   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="upower.xml"/>
     53  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="upower-systemd.xml"/>
    5354  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="usbutils.xml"/>
     55  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="weston-systemd.xml"/>
    5456  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="which.xml"/>
    5557  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zip.xml"/>
  • general/sysutils/udisks-systemd.xml

    rd5169f16 r52e5650b  
    8282      <xref linkend="polkit"/>,
    8383      <xref linkend="sg3_utils"/>, and
    84       <xref linkend="systemd"/> (for gudev)
     84      <xref linkend="systemd"/> (for GUdev and Logind)
    8585    </para>
    8686
     
    9393
    9494    <para condition="html" role="usernotes">User Notes:
    95     <ulink url="&blfs-wiki;/udisks"/></para>
    96 
     95      <ulink url="&blfs-wiki;/udisks"/>
     96    </para>
    9797  </sect2>
    9898
  • general/sysutils/udisks2-systemd.xml

    rd5169f16 r52e5650b  
    8080      <xref linkend="libxslt"/>,
    8181      <xref linkend="polkit"/>,  and
    82       <xref linkend="systemd"/> (for GUdev)
     82      <xref linkend="systemd"/> (for GUdev and Logind)
    8383    </para>
    8484
  • general/sysutils/upower-systemd.xml

    rd5169f16 r52e5650b  
    55  %general-entities;
    66
    7   <!ENTITY upower-download-http "http://upower.freedesktop.org/releases/upower-&upower-version;.tar.xz">
     7  <!ENTITY upower-download-http "http://upower.freedesktop.org/releases/upower-&upower1-version;.tar.xz">
    88  <!ENTITY upower-download-ftp  " ">
    9   <!ENTITY upower-md5sum        "39cfd97bfaf7d30908f20cf937a57634">
    10   <!ENTITY upower-size          "416 KB">
    11   <!ENTITY upower-buildsize     "10 MB">
     9  <!ENTITY upower-md5sum        "e21ea7875e46142e37695850754a296a">
     10  <!ENTITY upower-size          "420 KB">
     11  <!ENTITY upower-buildsize     "12 MB">
    1212  <!ENTITY upower-time          "0.2 SBU">
    1313]>
    1414
    15 <sect1 id="upower" xreflabel="UPower-&upower-version;">
     15<sect1 id="upower" xreflabel="UPower-&upower1-version;">
    1616  <?dbhtml filename="upower.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>UPower-&upower-version;</title>
     23  <title>UPower-&upower1-version;</title>
    2424
    2525  <indexterm zone="upower">
     
    7272      </listitem>
    7373    </itemizedlist>
     74
    7475
    7576    <bridgehead renderas="sect3">UPower Dependencies</bridgehead>
     
    8081      <xref linkend="libusb"/>,
    8182      <xref linkend="polkit"/>, and
    82       <xref linkend="systemd"/> (for GUdev)
    83     </para>
    84 
    85     <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>
    86     <para role="recommended">
    87       <xref linkend="pm-utils"/>
     83      <xref linkend="systemd"/> (for GUdev and Logind)
    8884    </para>
    8985
     
    9591    <bridgehead renderas="sect4">Optional</bridgehead>
    9692    <para role="optional">
    97       <xref linkend="gtk-doc"/> and
    98       <xref linkend="python3"/> (used only in the testsuite).
     93      <xref linkend="gtk-doc"/>,
     94      <xref linkend="python3"/> (used only in the testsuite) and
     95      <ulink url="http://www.libimobiledevice.org/">libimobiledevice</ulink>
    9996    </para>
    10097
     
    115112            --sysconfdir=/etc    \
    116113            --localstatedir=/var \
    117             --enable-deprecated  \
    118             --disable-static &amp;&amp;
     114            --disable-static     &amp;&amp;
    119115make</userinput></screen>
    120116
    121117    <para>
    122       To test the results, issue: <command>make check</command>. Some
    123       checks may not pass due to missing files. Test suite should be run from
    124       a local GUI session started with dbus-launch.
     118      To test the results, issue: <command>make check</command>. Test
     119      suite should be run from a local GUI session started with
     120      dbus-launch.
    125121    </para>
    126122
     
    136132    <title>Command Explanations</title>
    137133
    138     <para>
    139       <option>--enable-deprecated</option>: This switch enables
    140       deprecated functionality which is still needed by some
    141       applications.
    142     </para>
    143 
    144134    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    145135      href="../../xincludes/static-libraries.xml"/>
     
    155145    <para>
    156146      To use the command <command>upower -w</command> for information about
    157       processor wakeups (this command is used by <ulink url="http://ftp.gnome.org/pub/gnome/sources/gnome-power-manager/">gnome-power-manager</ulink>)
     147      processor wakeups (this command is used by <ulink
     148      url="http://ftp.gnome.org/pub/gnome/sources/gnome-power-manager/">gnome-power-manager</ulink>)
    158149      you need to enable CONFIG_TIMER_STATS.  This is achieved in
    159150      <command>make menuconfig</command> by going to the &apos;kernel-hacking&apos;
     
    161152    </para>
    162153
    163   </sect2>
     154    <sect3  id="upower-init">
     155      <title>Systemd Units</title>
     156
     157      <para>
     158        To start the <command>upowerd</command> daemon at boot,
     159        enable the previously installed systemd unit by
     160        running the following command as the
     161        <systemitem class="username">root</systemitem> user:
     162      </para>
     163
     164      <indexterm zone="upower upower-init">
     165        <primary sortas="f-upower">upower</primary>
     166      </indexterm>
     167
     168<screen role="root"><userinput>systemctl enable upower</userinput></screen>
     169
     170    </sect3>
     171
     172  </sect2>
     173
    164174  <sect2 role="content">
    165175    <title>Contents</title>
Note: See TracChangeset for help on using the changeset viewer.