Changeset 51dfb3e for general/sysutils
- Timestamp:
- 06/27/2019 08:55:17 PM (5 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.0, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, 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:
- ff3264f
- Parents:
- e77adf7
- Location:
- general/sysutils
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/accountsservice.xml
re77adf7 r51dfb3e 14 14 ]> 15 15 16 <sect1 id="accountsservice" xreflabel="AccountsService-&accountsservice-version;" revision="systemd">16 <sect1 id="accountsservice" xreflabel="AccountsService-&accountsservice-version;"> 17 17 <?dbhtml filename="accountsservice.html"?> 18 18 … … 86 86 <para role="recommended"> 87 87 <xref linkend="gobject-introspection"/> and 88 <xref linkend="systemd"/> 88 <phrase revision="sysv"><xref linkend="elogind"/></phrase> 89 <phrase revision="systemd"><xref linkend="systemd"/></phrase> 89 90 </para> 90 91 … … 109 110 </para> 110 111 111 <screen ><userinput>mkdir build &&112 <screen revision="sysv"><userinput>mkdir build && 112 113 cd build && 113 114 114 meson --prefix=/usr \ 115 -Dadmin_group=adm \ 116 -Dsystemd=true \ 115 meson --prefix=/usr \ 116 -Dadmin_group=adm \ 117 -Delogind=true \ 118 -Dsystemdsystemunitdir=no \ 119 .. && 120 ninja</userinput></screen> 121 122 <screen revision="systemd"><userinput>mkdir build && 123 cd build && 124 125 meson --prefix=/usr \ 126 -Dadmin_group=adm \ 127 -Dsystemd=true \ 117 128 .. && 118 129 ninja</userinput></screen> … … 167 178 168 179 <sect3 id="accountsservice-init"> 169 <title>Systemd Units</title> 170 171 <para> 180 <title><phrase revision="sysv">Boot Script</phrase> 181 <phrase revision="systemd">Systemd Units</phrase></title> 182 183 <para revision="sysv"> 172 184 To start the <command>accounts-daemon</command> daemon at boot, 173 enable the previously installed systemd unit by 174 running the following command as the 185 install the 186 <filename>/etc/rc.d/init.d/accounts-daemon</filename> init script from 187 the <xref linkend="bootscripts"/> package 188 by running the following command as the 189 <systemitem class="username">root</systemitem> user: 190 </para> 191 192 <para revision="systemd"> 193 To start the <command>accounts-daemon</command> daemon at boot, 194 enable the previously installed systemd unit 195 by running the following command as the 175 196 <systemitem class="username">root</systemitem> user: 176 197 </para> … … 180 201 </indexterm> 181 202 182 <screen role="root"><userinput>systemctl enable accounts-daemon</userinput></screen> 203 <screen role="root" revision="sysv"><userinput>make install-accounts-daemon</userinput></screen> 204 205 <screen role="root" revision="systemd"><userinput>systemctl enable accounts-daemon</userinput></screen> 183 206 184 207 </sect3> -
general/sysutils/cups-pk-helper.xml
re77adf7 r51dfb3e 14 14 ]> 15 15 16 <sect1 id="cups-pk-helper" xreflabel="cups-pk-helper-&cups-pk-helper-version;" revision="systemd">16 <sect1 id="cups-pk-helper" xreflabel="cups-pk-helper-&cups-pk-helper-version;"> 17 17 <?dbhtml filename="cups-pk-helper.html"?> 18 18 -
general/sysutils/dbus.xml
re77adf7 r51dfb3e 92 92 </para> 93 93 94 94 95 <bridgehead renderas="sect4">Recommended</bridgehead> 95 96 <para role="recommended"> 96 97 <xref linkend="xorg7-lib"/> (for <command>dbus-launch</command> program) 98 <phrase revision="sysv"><xref linkend="elogind"/> (first build 99 without, and then again after elogind is installed)</phrase> 97 100 </para> 98 101 … … 142 145 --sysconfdir=/etc \ 143 146 --localstatedir=/var \ 147 --enable-user-session \ 144 148 --disable-doxygen-docs \ 145 149 --disable-xml-docs \ 146 150 --disable-static \ 151 --with-systemduserunitdir=no \ 152 --with-systemdsystemunitdir=no \ 147 153 --docdir=/usr/share/doc/dbus-&dbus-version; \ 148 154 --with-console-auth-dir=/run/console \ … … 189 195 <screen role="root"><userinput>make install</userinput></screen> 190 196 191 <para revision="systemd">197 <para> 192 198 The shared library needs to be moved to 193 199 <filename class="directory">/lib</filename>, and as a result the … … 198 204 </para> 199 205 200 <screen r evision="systemd" role="root"><userinput>mv -v /usr/lib/libdbus-1.so.* /lib &&206 <screen role="root"><userinput>mv -v /usr/lib/libdbus-1.so.* /lib && 201 207 ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen> 202 208 … … 222 228 <screen role="root" revision="sysv"><userinput>dbus-uuidgen --ensure</userinput></screen> 223 229 230 <para revision="sysv"> 231 If using <xref linkend="elogind"/>, create a symlink to the 232 <filename>/var/lib/dbus/machine-id</filename> file: 233 </para> 234 235 <screen role="root" revision="sysv"><userinput>ln -sv /var/lib/dbus/machine-id /etc</userinput></screen> 236 224 237 <para revision="systemd"> 225 238 If not in chroot, at this point, you should reload the systemd daemon, … … 286 299 href="../../xincludes/static-libraries.xml"/> 287 300 301 <para> 302 <parameter>--enable-user-session</parameter>: This parameter enables 303 per-user DBus sessions with 304 <phrase revision="sysv"><application>elogind</application>.</phrase> 305 <phrase revision="systemd"><application>systemd</application>.</phrase> 306 </para> 307 288 308 <para revision="sysv"> 289 <parameter>--disable-systemd</parameter>: This switch disables systemd 290 support in <application>D-Bus</application>. 291 </para> 292 293 <para revision="sysv"> 294 <parameter>--without-systemdsystemunitdir</parameter>: This switch 295 prevents installation of systemd unit files. 296 </para> 297 298 <para revision="systemd"> 299 <parameter>--enable-user-session</parameter>: This parameter enables 300 per-user DBus sessions with <application>systemd</application>. 301 </para> 302 309 <parameter>--with-systemd{user,system}unitdir=</parameter>: These 310 switches disable installation of systemd units on elogind based systems. 311 </para> 303 312 <para> 304 313 <parameter>--with-console-auth-dir=/run/console/</parameter>: This -
general/sysutils/fcron.xml
re77adf7 r51dfb3e 241 241 242 242 <screen role="root"><userinput>cat > /usr/bin/run-parts << "EOF" && 243 #!/bin/sh243 <literal>#!/bin/sh 244 244 # run-parts: Runs all the scripts found in a directory. 245 245 # from Slackware, by Patrick J. Volkerding with ideas borrowed … … 288 288 done 289 289 290 exit 0 290 exit 0</literal> 291 291 EOF 292 292 chmod -v 755 /usr/bin/run-parts</userinput></screen> … … 305 305 306 306 <screen role="root"><userinput>cat > /var/spool/fcron/systab.orig << "EOF" 307 &bootrun 01 * * * * root run-parts /etc/cron.hourly307 <literal>&bootrun 01 * * * * root run-parts /etc/cron.hourly 308 308 &bootrun 02 4 * * * root run-parts /etc/cron.daily 309 309 &bootrun 22 4 * * 0 root run-parts /etc/cron.weekly 310 &bootrun 42 4 1 * * root run-parts /etc/cron.monthly 310 &bootrun 42 4 1 * * root run-parts /etc/cron.monthly</literal> 311 311 EOF</userinput></screen> 312 312 -
general/sysutils/logrotate.xml
re77adf7 r51dfb3e 126 126 127 127 <screen role="root"><userinput>cat > /etc/logrotate.conf << EOF 128 # Begin of /etc/logrotate.conf128 <literal># Begin of /etc/logrotate.conf 129 129 130 130 # Rotate log files weekly … … 165 165 include /etc/logrotate.d 166 166 167 # End of /etc/logrotate.conf 167 # End of /etc/logrotate.conf</literal> 168 168 EOF 169 169 … … 180 180 181 181 <screen role="root"><userinput>cat > /etc/logrotate.d/sys.log << EOF 182 /var/log/sys.log {182 <literal>/var/log/sys.log { 183 183 # If the log file is larger than 100kb, rotate it 184 184 size 100k … … 188 188 /bin/killall -HUP syslogd 189 189 endscript 190 } 190 }</literal> 191 191 EOF 192 192 … … 196 196 197 197 <screen role="root"><userinput>cat > /etc/logrotate.d/example.log << EOF 198 file1198 <literal>file1 199 199 file2 200 200 file3 { … … 203 203 ... 204 204 endscript 205 } 205 }</literal> 206 206 EOF 207 207 -
general/sysutils/modemmanager.xml
re77adf7 r51dfb3e 81 81 <bridgehead renderas="sect4">Recommended</bridgehead> 82 82 <para role="recommended"> 83 <phrase revision="sysv"><xref linkend="elogind"/>,</phrase> 83 84 <xref linkend="gobject-introspection"/>, 84 85 <xref linkend="libmbim"/>, … … 106 107 </para> 107 108 108 <screen revision="sysv"><userinput>./configure --prefix=/usr \ 109 --sysconfdir=/etc \ 110 --localstatedir=/var \ 111 --enable-more-warnings=no \ 112 --disable-static && 109 <screen revision="sysv"><userinput>./configure --prefix=/usr \ 110 --sysconfdir=/etc \ 111 --localstatedir=/var \ 112 --disable-static \ 113 --enable-more-warnings=no \ 114 --with-systemd-journal=no \ 115 --with-systemd-suspend-resume && 113 116 make</userinput></screen> 114 117 … … 138 141 <title>Command Explanations</title> 139 142 140 <para revision="systemd">143 <para> 141 144 <parameter>--with-systemd-suspend-resume</parameter>: This 142 switch forces <application>ModemManager</application> to use the systemd 145 switch forces <application>ModemManager</application> to use the 146 <phrase revision="sysv"><application>elogind</application></phrase> 147 <phrase revision="systemd"><application>systemd</application></phrase> 143 148 power management facilities. 144 149 </para> 145 150 146 <para revision="systemd">151 <para> 147 152 <parameter>--with-systemd-journal</parameter>: This switch forces 148 <application>ModemManager</application> to use the systemd journal for 153 <application>ModemManager</application> 154 <phrase revision="sysv">not</phrase> to use the systemd journal for 149 155 logging. 150 156 </para> -
general/sysutils/sysutils.xml
re77adf7 r51dfb3e 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/> 37 38 <!-- sysv only --> 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="elogind.xml"/> 40 37 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fcron.xml"/> 38 42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpm.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.