- Timestamp:
- 10/26/2014 06:08:49 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- da3d42d
- Parents:
- d5169f16
- Location:
- general/sysutils
- Files:
-
- 3 added
- 1 deleted
- 4 edited
- 11 moved
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/acpid-systemd.xml
rd5169f16 r52e5650b 132 132 /usr/sbin/pm-suspend</literal> 133 133 EOF 134 chmod +x/etc/acpi/lid.sh</userinput></screen>134 chmod -v 755 /etc/acpi/lid.sh</userinput></screen> 135 135 136 136 <para> … … 142 142 143 143 <sect3 id="acpid-init"> 144 <title> Boot Script</title>144 <title>Systemd Units</title> 145 145 146 146 <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: 150 151 </para> 151 152 … … 155 156 156 157 <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> 157 166 158 167 </sect3> -
general/sysutils/at-systemd.xml
rd5169f16 r52e5650b 107 107 --with-daemon_username=atd \ 108 108 --with-daemon_groupname=atd \ 109 SENDMAIL=/usr/sbin/sendmail && 109 SENDMAIL=/usr/sbin/sendmail \ 110 --with-systemdsystemunitdir=/lib/systemd/system && 110 111 make -j1</userinput></screen> 111 112 … … 139 140 140 141 <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> 145 150 146 151 <indexterm zone="at at-init"> … … 148 153 </indexterm> 149 154 150 <screen role="root"><userinput> make install-atd</userinput></screen>155 <screen role="root"><userinput>systemctl enable atd</userinput></screen> 151 156 152 157 </sect3> -
general/sysutils/autofs-systemd.xml
rd5169f16 r52e5650b 115 115 116 116 ./configure --prefix=/ \ 117 --with-systemd \ 117 118 --without-openldap \ 118 119 --mandir=/usr/share/man && … … 136 137 137 138 <para> 138 < option>--with-libtirpc</option>: This switch enables libtirpc support if139 available.139 <parameter>--with-systemd</parameter>: This switch enables installation of 140 the bundled systemd units. 140 141 </para> 141 142 … … 251 252 252 253 <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 other257 BLFS scripts.</para>258 259 <para>Install the <filename>/etc/init.d/autofs</filename> mount script260 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> 261 262 262 263 <indexterm zone="autofs autofs-init"> … … 264 265 </indexterm> 265 266 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> 273 276 274 277 </sect3> -
general/sysutils/bluez-systemd.xml
rd5169f16 r52e5650b 9 9 <!ENTITY bluez-md5sum "37b785185fb98269b45e51b254bd8d3d"> 10 10 <!ENTITY bluez-size "1.4 MB"> 11 <!ENTITY bluez-buildsize " 57MB (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)"> 13 13 ]> 14 14 … … 75 75 <listitem> 76 76 <para> 77 Optional patch (required to work properly with gnome-bluetooth 78 and/or kde bluedevil): 77 Required patch: 79 78 <ulink url="&patch-root;/bluez-&bluez-version;-obexd_without_systemd-1.patch"/> 80 79 </para> … … 130 129 131 130 <para> 132 If you are going to use <application>BlueZ</application> with133 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>139 131 Install <application>BlueZ</application> by running the following 140 132 commands: 141 133 </para> 142 134 143 <screen><userinput>./configure --prefix=/usr \ 135 <screen><userinput>patch -Np1 -i ../bluez-&bluez-version;-obexd_without_systemd-1.patch && 136 ./configure --prefix=/usr \ 144 137 --sysconfdir=/etc \ 145 138 --localstatedir=/var \ 146 --enable-library \ 147 --disable-systemd && 139 --enable-library && 148 140 make</userinput></screen> 149 141 … … 156 148 </para> 157 149 158 <screen role="root"><userinput>make install && 159 ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin</userinput></screen> 150 <screen role="root"><userinput>make install</userinput></screen> 160 151 161 152 <para> … … 176 167 177 168 </sect2> 178 179 169 180 170 <sect2 role="commands"> … … 187 177 </para> 188 178 189 <para>190 <parameter>--disable-systemd</parameter>: This switch is needed because191 <application>systemd</application> is not part of LFS/BLFS. If you are192 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 200 179 </sect2> 201 180 … … 206 185 <title>Configuration Files</title> 207 186 <para> 208 <filename>/etc/bluetooth/main.conf</filename> is installed automatically209 during the install. Additionally, there are three supplementary210 configuration files. /etc/sysconfig/bluetooth is installed as a part211 of the boot script below. In addition, you optionally can install the212 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: 213 192 </para> 214 193 … … 219 198 # See the rfcomm man page for options 220 199 221 222 200 # End of rfcomm.conf</literal> 223 201 EOF</screen> … … 237 215 </indexterm> 238 216 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 239 227 </sect3> 240 228 241 229 <sect3 id="bluez-init"> 242 <title> Boot Script</title>230 <title>Systemd Units</title> 243 231 244 232 <para> 245 To automatically start the <command>bluetoothd</command> daemon when the246 system is rebooted, install the247 <filename>/etc/rc.d/init.d/bluetooth</filename> bootscript fromthe248 < 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: 249 237 </para> 250 238 … … 253 241 </indexterm> 254 242 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> 256 251 257 252 </sect3> -
general/sysutils/colord-systemd.xml
rd5169f16 r52e5650b 9 9 <!ENTITY colord-download-ftp " "> 10 10 <!ENTITY colord-md5sum "d0a9c8e29374b6330455fb8902c8f246"> 11 <!ENTITY colord-size "1. 2MB">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"> 14 14 ]> 15 15 … … 84 84 </para> 85 85 86 <bridgehead renderas="sect4">Required (for the tests)</bridgehead>87 <para role="required">88 <xref linkend="valgrind"/>89 </para>90 91 86 <bridgehead renderas="sect4">Recommended</bridgehead> 92 87 <para role="recommended"> … … 94 89 <xref linkend="gobject-introspection"/>, 95 90 <xref linkend="polkit"/>, 96 <xref linkend="systemd"/> (for GUdev ),and91 <xref linkend="systemd"/> (for GUdev and Logind) and 97 92 <xref linkend="vala"/> 98 93 </para> … … 100 95 <bridgehead renderas="sect4">Optional</bridgehead> 101 96 <para role="optional"> 102 < xref linkend="gnome-desktop"/> and97 <ulink url="http://bash-completion.alioth.debian.org/">Bash Completion</ulink>, 103 98 <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), 105 101 <xref linkend="docbook-utils"/>, 106 102 <xref linkend="gtk-doc"/>, 107 103 <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) 111 106 </para> 112 107 … … 140 135 --with-daemon-user=colord \ 141 136 --enable-vala \ 142 --enable-systemd-login=no \143 137 --disable-bash-completion \ 144 --disable-static \ 145 --with-systemdsystemunitdir=no && 138 --disable-static && 146 139 make</userinput></screen> 147 140 … … 153 146 154 147 <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 157 151 <application>D-Bus</application> daemon must be running or the tests 158 152 will fail. … … 163 157 <sect2 role="commands"> 164 158 <title>Command Explanations</title> 165 166 <para>167 <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes168 building without <application>systemd</application>, which is not part169 of LFS/BLFS. If you use <application>systemd</application>,170 replace "no" by "yes".171 </para>172 159 173 160 <para> … … 190 177 </para> 191 178 192 <para>193 <option>--disable-systemd-login</option>: This switch prevents194 <command>configure</command> to look for195 <application>Systemd</application> libraries.196 </para>197 198 <para>199 <option>--with-systemdsystemunitdir=no</option>: Disable200 attempting to build with systemd libraries.201 </para>202 203 179 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 204 180 href="../../xincludes/static-libraries.xml"/> … … 206 182 <para> 207 183 <option>--enable-gtk-doc</option>: Use this switch if 208 <application>GTK-Doc</application> is installed and you wish to build209 and install the API documentation.184 <application>GTK-Doc</application> is installed and you wish to 185 build and install the API documentation. 210 186 </para> 211 187 … … 216 192 217 193 <para> 218 <option>--disable-gudev</option>: Use this switch if you don't have GUdev219 installed.194 <option>--disable-gudev</option>: Use this switch if you don't have 195 GUdev installed. 220 196 </para> 221 197 … … 245 221 <seg> 246 222 /usr/include/colord-1, 223 /usr/lib/colord, 247 224 /usr/lib/colord-plugins, 248 225 /usr/lib/colord-sensors, -
general/sysutils/fcron-systemd.xml
rd5169f16 r52e5650b 87 87 <title>Installation of Fcron</title> 88 88 89 <para id="fcron-syslog"><application>Fcron</application> uses the cron facility89 <!-- <para id="fcron-syslog"><application>Fcron</application> uses the cron facility 90 90 of <command>syslog</command> to log all messages. Since LFS 91 91 does not set up this facility in <filename>/etc/syslog.conf</filename>, it … … 111 111 <systemitem class='username'>root</systemitem> user).</para> 112 112 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> --> 114 114 115 115 <para>For security reasons, an unprivileged user and group for … … 127 127 --localstatedir=/var \ 128 128 --without-sendmail \ 129 --with-boot-install=no \ 130 --with-systemdsystemunitdir=no && 129 --without-boot-install && 131 130 make</userinput></screen> 132 131 … … 156 155 command></replaceable></option> to use a different mailer command.</para> 157 156 158 <para><parameter>--with -boot-install=no</parameter>: This prevents157 <para><parameter>--without-boot-install</parameter>: This prevents 159 158 installation of the bootscript included with the package.</para> 160 161 <para><parameter>--with-systemdsystemunitdir=no|yes|DIR</parameter>: Use162 no, if you use sysvint; yes, if you use systemd, or specify the directory163 DIR for the systemd units.</para>164 159 165 160 <para><option>--with-editor=<replaceable></path/to/editor></replaceable></option>: … … 227 222 228 223 <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> 234 232 235 233 <indexterm zone="fcron fcron-init"> … … 237 235 </indexterm> 238 236 239 <screen role="root"><userinput> make install-fcron</userinput></screen>237 <screen role="root"><userinput>systemctl enable fcron</userinput></screen> 240 238 241 239 </sect3> -
general/sysutils/gpm-systemd.xml
rd5169f16 r52e5650b 118 118 119 119 <sect3 id="gpm-init"> 120 <title> Boot Script</title>120 <title>Systemd Units</title> 121 121 122 122 <indexterm zone="gpm gpm-init"> … … 124 124 </indexterm> 125 125 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> 128 132 129 133 <screen role="root"><userinput>make install-gpm</userinput></screen> … … 138 142 <command>gpm-root</command> configuration files.</para> 139 143 140 <para><filename>/etc/sysconfig/mouse</filename>:141 This file contains the name of your mouse device and the protocol142 it uses. To create this file, run the following as the143 <systemitem class="username">root</systemitem> user:</para>144 145 <screen role="root"><userinput>cat > /etc/sysconfig/mouse << "EOF"146 <literal># Begin /etc/sysconfig/mouse147 148 MDEVICE="<replaceable><yourdevice></replaceable>"149 PROTOCOL="<replaceable><yourprotocol></replaceable>"150 GPMOPTS="<replaceable><additional options></replaceable>"151 152 # End /etc/sysconfig/mouse</literal>153 EOF</userinput></screen>154 155 144 <indexterm zone="gpm gpm-config"> 156 145 <primary sortas="e-AA.gpm-root">~/.gpm-root</primary> … … 161 150 </indexterm> 162 151 163 <indexterm zone="gpm gpm-config">164 <primary sortas="e-etc-sysconfig-mouse">/etc/sysconfig/mouse</primary>165 </indexterm>166 167 152 </sect3> 168 153 … … 170 155 <title>Configuration Information</title> 171 156 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 167 echo "ExecStart=/usr/sbin/gpm <list of parameters>" > /etc/systemd/system/gpm.service.d/99-user.conf</userinput></screen> 187 168 188 169 </sect3> -
general/sysutils/logrotate.xml
rd5169f16 r52e5650b 177 177 EOF 178 178 179 chmod -v 0644 /etc/logrotate.conf</userinput></screen>180 181 <para>Now create the <filename class= 'directory'>/etc/logrotate.d</filename>179 chmod -v 644 /etc/logrotate.conf</userinput></screen> 180 181 <para>Now create the <filename class="directory">/etc/logrotate.d</filename> 182 182 directory as the <systemitem class="username">root</systemitem> user:</para> 183 183 184 <screen role="root"><userinput> 184 <screen role="root"><userinput>mkdir -p /etc/logrotate.d</userinput></screen> 185 185 186 186 <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. 188 188 For example:</para> 189 189 … … 200 200 EOF 201 201 202 chmod -v 0644 /etc/logrotate.d/sys.log</userinput></screen>202 chmod -v 644 /etc/logrotate.d/sys.log</userinput></screen> 203 203 204 204 <para>You can designate multiple files in one entry:</para> … … 215 215 EOF 216 216 217 chmod -v 0644 /etc/logrotate.d/example.log</userinput></screen>217 chmod -v 644 /etc/logrotate.d/example.log</userinput></screen> 218 218 219 219 <para>You can use in the same line the list of files: file1 file2 file3. 220 220 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/"/> 222 222 for more examples.</para> 223 223 … … 232 232 because they are not actually created.</para> 233 233 234 <para>To set up <xref linkend= 'fcron'/> to run234 <para>To set up <xref linkend="fcron"/> to run 235 235 <command>logrotate ...</command> at 3AM daily, root's crontab should be 236 236 edited to add:</para> -
general/sysutils/pm-utils.xml
rd5169f16 r52e5650b 125 125 <screen role="root"><userinput>install -v -m644 man/*.1 /usr/share/man/man1 && 126 126 install -v -m644 man/*.8 /usr/share/man/man8 && 127 ln -s v pm-action.8 /usr/share/man/man8/pm-suspend.8 &&128 ln -s v pm-action.8 /usr/share/man/man8/pm-hibernate.8 &&129 ln -s v pm-action.8 /usr/share/man/man8/pm-suspend-hybrid.8</userinput></screen>127 ln -sfv pm-action.8 /usr/share/man/man8/pm-suspend.8 && 128 ln -sfv pm-action.8 /usr/share/man/man8/pm-hibernate.8 && 129 ln -sfv pm-action.8 /usr/share/man/man8/pm-suspend-hybrid.8</userinput></screen> 130 130 131 131 </sect2> -
general/sysutils/strigi.xml
rd5169f16 r52e5650b 130 130 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to 131 131 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.137 132 </para> 138 133 -
general/sysutils/sysstat-systemd.xml
rd5169f16 r52e5650b 90 90 <screen role="root"><userinput>make install</userinput></screen> 91 91 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 92 99 </sect2> 93 100 … … 176 183 <para>At system startup, a LINUX RESTART message must be inserted in the 177 184 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 181 187 <systemitem class="username">root</systemitem> user:</para> 182 188 183 <screen role="root"><userinput> make install-sysstat</userinput></screen>189 <screen role="root"><userinput>systemctl enable sysstat</userinput></screen> 184 190 185 191 </sect3> -
general/sysutils/sysutils.xml
rd5169f16 r52e5650b 20 20 installation or configuration purposes.</para> 21 21 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"/> 27 27 <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"/> 28 29 <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"/> 31 32 <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"/>33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lm_sensors.xml"/> 34 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="logrotate.xml"/> 35 35 <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"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="obex-data-server.xml"/> 37 38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="p7zip.xml"/> … … 44 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sg3_utils.xml"/> 45 46 <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"/> 47 48 <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"/> 50 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unrar.xml"/> 51 52 <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"/> 53 54 <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"/> 54 56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="which.xml"/> 55 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zip.xml"/> -
general/sysutils/udisks-systemd.xml
rd5169f16 r52e5650b 82 82 <xref linkend="polkit"/>, 83 83 <xref linkend="sg3_utils"/>, and 84 <xref linkend="systemd"/> (for gudev)84 <xref linkend="systemd"/> (for GUdev and Logind) 85 85 </para> 86 86 … … 93 93 94 94 <para condition="html" role="usernotes">User Notes: 95 <ulink url="&blfs-wiki;/udisks"/></para>96 95 <ulink url="&blfs-wiki;/udisks"/> 96 </para> 97 97 </sect2> 98 98 -
general/sysutils/udisks2-systemd.xml
rd5169f16 r52e5650b 80 80 <xref linkend="libxslt"/>, 81 81 <xref linkend="polkit"/>, and 82 <xref linkend="systemd"/> (for GUdev )82 <xref linkend="systemd"/> (for GUdev and Logind) 83 83 </para> 84 84 -
general/sysutils/upower-systemd.xml
rd5169f16 r52e5650b 5 5 %general-entities; 6 6 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"> 8 8 <!ENTITY upower-download-ftp " "> 9 <!ENTITY upower-md5sum " 39cfd97bfaf7d30908f20cf937a57634">10 <!ENTITY upower-size "4 16KB">11 <!ENTITY upower-buildsize "1 0MB">9 <!ENTITY upower-md5sum "e21ea7875e46142e37695850754a296a"> 10 <!ENTITY upower-size "420 KB"> 11 <!ENTITY upower-buildsize "12 MB"> 12 12 <!ENTITY upower-time "0.2 SBU"> 13 13 ]> 14 14 15 <sect1 id="upower" xreflabel="UPower-&upower -version;">15 <sect1 id="upower" xreflabel="UPower-&upower1-version;"> 16 16 <?dbhtml filename="upower.html"?> 17 17 … … 21 21 </sect1info> 22 22 23 <title>UPower-&upower -version;</title>23 <title>UPower-&upower1-version;</title> 24 24 25 25 <indexterm zone="upower"> … … 72 72 </listitem> 73 73 </itemizedlist> 74 74 75 75 76 <bridgehead renderas="sect3">UPower Dependencies</bridgehead> … … 80 81 <xref linkend="libusb"/>, 81 82 <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) 88 84 </para> 89 85 … … 95 91 <bridgehead renderas="sect4">Optional</bridgehead> 96 92 <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> 99 96 </para> 100 97 … … 115 112 --sysconfdir=/etc \ 116 113 --localstatedir=/var \ 117 --enable-deprecated \ 118 --disable-static && 114 --disable-static && 119 115 make</userinput></screen> 120 116 121 117 <para> 122 To test the results, issue: <command>make check</command>. Some123 checks may not pass due to missing files. Test suite should be run from124 a local GUI session started withdbus-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. 125 121 </para> 126 122 … … 136 132 <title>Command Explanations</title> 137 133 138 <para>139 <option>--enable-deprecated</option>: This switch enables140 deprecated functionality which is still needed by some141 applications.142 </para>143 144 134 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 145 135 href="../../xincludes/static-libraries.xml"/> … … 155 145 <para> 156 146 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>) 158 149 you need to enable CONFIG_TIMER_STATS. This is achieved in 159 150 <command>make menuconfig</command> by going to the 'kernel-hacking' … … 161 152 </para> 162 153 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 164 174 <sect2 role="content"> 165 175 <title>Contents</title>
Note:
See TracChangeset
for help on using the changeset viewer.