Ignore:
Timestamp:
07/20/2014 01:00:51 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
6bc6c1c
Parents:
459c449
Message:

Begin merging Christophers work into systemd branch part 4.

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

File:
1 moved

Legend:

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

    r459c449 r47e9f6b0  
    8080      <xref linkend="libusb"/>,
    8181      <xref linkend="polkit"/>, and
    82       <xref linkend="udev-extras"/> (for GUdev)
    83     </para>
    84 
    85     <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>
    86     <para role="recommended">
    87       <xref linkend="pm-utils"/>
     82      <xref linkend="systemd"/> (for GUdev and Logind)
    8883    </para>
    8984
     
    115110            --sysconfdir=/etc    \
    116111            --localstatedir=/var \
    117             --enable-deprecated  \
    118             --disable-static &amp;&amp;
     112            --disable-static     \
     113            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
    119114make</userinput></screen>
    120115
     
    136131    <title>Command Explanations</title>
    137132
    138     <para>
    139       <option>--enable-deprecated</option>: This switch enables
    140       deprecated functionality which is still needed by some
    141       applications.
    142     </para>
    143 
    144133    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    145134      href="../../xincludes/static-libraries.xml"/>
    146135
     136    <para>
     137      <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>:
     138      This switch specifies the install location for the systemd units.
     139    </para>
     140
    147141    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    148142      href="../../xincludes/gtk-doc-rebuild.xml"/>
     
    155149    <para>
    156150      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>)
     151      processor wakeups (this command is used by <ulink
     152      url="http://ftp.gnome.org/pub/gnome/sources/gnome-power-manager/">gnome-power-manager</ulink>)
    158153      you need to enable CONFIG_TIMER_STATS.  This is achieved in
    159154      <command>make menuconfig</command> by going to the &apos;kernel-hacking&apos;
     
    161156    </para>
    162157
    163   </sect2>
     158    <sect3  id="upower-init">
     159      <title>Systemd Unit</title>
     160
     161      <para>To start the <command>upowerd</command> daemon at boot,
     162      enable the previously installed systemd unit by running
     163      the following command as the
     164      <systemitem class="username">root</systemitem> user:</para>
     165
     166      <indexterm zone="upower upower-init">
     167        <primary sortas="f-upower">upower</primary>
     168      </indexterm>
     169
     170<screen role="root"><userinput>systemctl enable upower</userinput></screen>
     171
     172    </sect3>
     173
     174  </sect2>
     175
    164176  <sect2 role="content">
    165177    <title>Contents</title>
Note: See TracChangeset for help on using the changeset viewer.