Changeset 1258125
- Timestamp:
- 06/11/2016 06:14:42 PM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, 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:
- 3e42104
- Parents:
- bea508c
- Location:
- server
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
server/databases/mariadb.xml
rbea508c r1258125 363 363 364 364 <sect3 id="mariadb-init"> 365 <title>Boot Script</title> 365 <title><phrase revision="sysv">Boot Script</phrase> 366 <phrase revision="systemd">Systemd Unit</phrase></title> 366 367 367 368 <para> 368 Install the <filename>/etc/rc.d/init.d/mysql</filename> init script 369 included in the <xref linkend="bootscripts" revision="sysv"/> 369 Install the 370 <phrase revision="sysv"><filename>/etc/rc.d/init.d/mysql</filename> init 371 script</phrase> 372 <phrase revision="systemd"><filename>mysqld.service</filename> 373 unit</phrase> included in the 374 <xref linkend="bootscripts" revision="sysv"/> 370 375 <xref linkend="systemd-units" revision="systemd"/> package as 371 376 the <systemitem class="username">root</systemitem> user to start the … … 377 382 </indexterm> 378 383 379 <screen role="root"><userinput>make install-mysql</userinput></screen> 384 <screen role="root" revision="sysv"><userinput>make install-mysql</userinput></screen> 385 386 <screen role="root" revision="systemd"><userinput>make install-mysqld</userinput></screen> 380 387 381 388 </sect3> -
server/databases/postgresql.xml
rbea508c r1258125 247 247 248 248 <sect3 id="postgresql-init"> 249 <title>Boot Script</title> 250 251 <para>Install the <filename>/etc/rc.d/init.d/postgresql</filename> 252 init script included in the 249 <title><phrase revision="sysv">Boot Script</phrase> 250 <phrase revision="systemd">Systemd Unit</phrase></title> 251 252 <para>Install the 253 <phrase revision="sysv"><filename>/etc/rc.d/init.d/postgresql</filename> 254 init script</phrase> 255 <phrase revision="systemd"><filename>postgresql.service</filename> 256 unit</phrase> included in the 253 257 <xref linkend="bootscripts" revision="sysv"/> 254 258 <xref linkend="systemd-units" revision="systemd"/> package.</para> -
server/mail/dovecot.xml
rbea508c r1258125 121 121 </para> 122 122 123 <screen ><userinput>./configure --prefix=/usr\124 --sysconfdir=/etc \125 --localstatedir=/var \123 <screen revision="sysv"><userinput>./configure --prefix=/usr \ 124 --sysconfdir=/etc \ 125 --localstatedir=/var \ 126 126 --docdir=/usr/share/doc/dovecot-&dovecot-version; \ 127 127 --disable-static && 128 128 make</userinput></screen> 129 129 130 <screen revision="systemd"><userinput>./configure --prefix=/usr \ 131 --sysconfdir=/etc \ 132 --localstatedir=/var \ 133 --docdir=/usr/share/doc/dovecot-&dovecot-version; \ 134 --disable-static \ 135 --with-systemdsystemunitdir=/lib/systemd/system && 136 make</userinput></screen> 137 130 138 <para>To test the results, issue <command>make -k check</command>. One test 131 139 fails for unknown reason</para> … … 144 152 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 145 153 href="../../xincludes/static-libraries.xml"/> 154 155 <para> 156 <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>: 157 This switch is used to set the correct installation directory for 158 systemd units. 159 </para> 146 160 147 161 <para> … … 244 258 245 259 <sect3 id="dovecot-init"> 246 <title>Boot Script</title> 247 248 <para>If you want the <application>Dovecot</application> server to 249 start automatically when the system is booted, install the 250 <filename>/etc/rc.d/init.d/dovecot</filename> init script included 251 in the <xref linkend="bootscripts" revision="sysv"/> 252 <xref linkend="systemd-units" revision="systemd"/> package.</para> 260 <title><phrase revision="sysv">Boot Script</phrase> 261 <phrase revision="systemd">Systemd Unit</phrase></title> 262 263 <para revision="sysv">If you want the <application>Dovecot</application> 264 server to start automatically when the system is booted, install the 265 <filename>/etc/rc.d/init.d/dovecot</filename> init script included in the 266 <xref linkend="bootscripts"/> package.</para> 267 268 <para revision="systemd">To start the <command>dovecot</command> 269 daemon at boot, enable the previously installed systemd unit with the 270 following command:</para> 253 271 254 272 <indexterm zone="dovecot dovecot-init"> … … 256 274 </indexterm> 257 275 258 <screen role="root"><userinput>make install-dovecot</userinput></screen> 276 <screen role="root" revision="sysv"><userinput>make install-dovecot</userinput></screen> 277 278 <screen role="root" revision="systemd"><userinput>systemctl enable dovecot</userinput></screen> 259 279 260 280 </sect3> -
server/mail/exim.xml
rbea508c r1258125 301 301 302 302 <sect3 id="exim-init"> 303 <title>Boot Script</title> 304 305 <para>To automate the running of <command>exim</command> at startup, 306 install the <filename>/etc/rc.d/init.d/exim</filename> init script 303 <title><phrase revision="sysv">Boot Script</phrase> 304 <phrase revision="systemd">Systemd Unit</phrase></title> 305 306 <para>To automatically start <command>exim</command> at boot, 307 install the 308 <phrase revision="sysv"><filename>/etc/rc.d/init.d/exim</filename> 309 init script</phrase> 310 <phrase revision="systemd"><filename>exim.service</filename> unit</phrase> 307 311 included in the <xref linkend="bootscripts" revision="sysv"/> 308 <xref linkend="systemd-units" revision="systemd"/> 309 package.</para> 312 <xref linkend="systemd-units" revision="systemd"/> package.</para> 310 313 311 314 <indexterm zone="exim exim-init"> … … 315 318 <screen role="root"><userinput>make install-exim</userinput></screen> 316 319 317 <para>The bootscript also starts the <application>Exim</application> 318 daemon and dispatches a queue runner process every 15 minutes. Modify 319 the <option>-q<replaceable><time interval></replaceable></option> 320 <para revision="sysv">The bootscript also starts the 321 <application>Exim</application> daemon and dispatches a queue runner 322 process every 15 minutes. Modify the 323 <option>-q<replaceable><time interval></replaceable></option> 320 324 parameter in <filename>/etc/rc.d/init.d/exim</filename>, if necessary 321 325 for your installation.</para> -
server/mail/postfix.xml
rbea508c r1258125 402 402 403 403 <sect3 id="postfix-init"> 404 <title>Boot Script</title> 404 <title><phrase revision="sysv">Boot Script</phrase> 405 <phrase revision="systemd">Systemd Unit</phrase></title> 405 406 406 407 <para> 407 408 To automate the running of Postfix at startup, install the 408 <filename>/etc/rc.d/init.d/postfix</filename> init script included in 409 the <xref linkend="bootscripts" revision="sysv"/> 409 <phrase revision="sysv"><filename>/etc/rc.d/init.d/postfix</filename> 410 init script</phrase> 411 <phrase revision="systemd"><filename>postfix.service</filename> 412 unit</phrase> included in the 413 <xref linkend="bootscripts" revision="sysv"/> 410 414 <xref linkend="systemd-units" revision="systemd"/> package. 411 415 </para> -
server/mail/sendmail.xml
rbea508c r1258125 261 261 262 262 <sect3 id="sendmail-init"> 263 <title>Boot Script</title> 263 <title><phrase revision="sysv">Boot Script</phrase> 264 <phrase revision="systemd">Systemd Unit</phrase></title> 264 265 265 266 <para>To automate the running of <application>sendmail</application> 266 at startup, install the <filename>/etc/rc.d/init.d/sendmail</filename> 267 init script included in the 267 at startup, install the 268 <phrase revision="sysv"><filename>/etc/rc.d/init.d/sendmail</filename> 269 init script</phrase> 270 <phrase revision="systemd"><filename>sendmail.service</filename> 271 unit</phrase> included in the 268 272 <xref linkend="bootscripts" revision="sysv"/> 269 273 <xref linkend="systemd-units" revision="systemd"/> package.</para> … … 278 282 <para>The -qNm option to <command>sendmail</command>, where N is number 279 283 of minutes, controls how often <application>sendmail</application> will 280 process the mail queue. A default of 5 minutes is used in the init 281 script. Individual workstation users may want to set this as low as 1 282 minute, large installations handling more mail may want to set it 283 higher.</para> 284 process the mail queue. A default of 5 minutes is used in the 285 <phrase revision="sysv">init script.</phrase> 286 <phrase revision="systemd">systemd unit.</phrase> Individual 287 workstation users may want to set this as low as 1 minute, large 288 installations handling more mail may want to set it higher.</para> 284 289 </note> 285 290 -
server/major/apache.xml
rbea508c r1258125 268 268 269 269 <sect3 id="httpd-init"> 270 <title>Boot Script</title> 270 <title><phrase revision="sysv">Boot Script</phrase> 271 <phrase revision="systemd">Systemd Unit</phrase></title> 271 272 272 273 <para> 273 274 If you want the <application>Apache</application> server to 274 275 start automatically when the system is booted, install the 275 <filename>/etc/rc.d/init.d/httpd</filename> init script included 276 in the <xref linkend="bootscripts" revision="sysv"/> 276 <phrase revision="sysv"><filename>/etc/rc.d/init.d/httpd</filename> 277 init script</phrase> 278 <phrase revision="systemd"><filename>httpd.service</filename> 279 unit</phrase> included in the 280 <xref linkend="bootscripts" revision="sysv"/> 277 281 <xref linkend="systemd-units" revision="systemd"/> package. 278 282 </para> -
server/major/bind.xml
rbea508c r1258125 405 405 406 406 <sect3 id="bind-init"> 407 <title>Boot Script</title> 407 <title><phrase revision="sysv">Boot Script</phrase> 408 <phrase revision="systemd">Systemd Unit</phrase></title> 408 409 409 410 <para>To start the DNS server at boot, install the 410 <filename>/etc/rc.d/init.d/bind</filename> init script included 411 in the <xref linkend="bootscripts" revision="sysv"/> 411 <phrase revision="sysv"><filename>/etc/rc.d/init.d/bind</filename> init 412 script</phrase> 413 <phrase revision="systemd"><filename>named.service</filename> 414 unit</phrase> included in the 415 <xref linkend="bootscripts" revision="sysv"/> 412 416 <xref linkend="systemd-units" revision="systemd"/> package.</para> 413 417 … … 419 423 420 424 <para>Now start <application>BIND</application> with 421 the new boot script:</para> 422 423 <screen role="root"><userinput>/etc/rc.d/init.d/bind start</userinput></screen> 425 the following command:</para> 426 427 <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/bind start</userinput></screen> 428 <screen role="root" revision="systemd"><userinput>systemctl start named</userinput></screen> 424 429 425 430 </sect3> -
server/major/proftpd.xml
rbea508c r1258125 233 233 234 234 <sect3 id="proftpd-init"> 235 <title>Boot Script</title> 236 237 <para>Install the <filename>/etc/rc.d/init.d/proftpd</filename> init 238 script included in the <xref linkend="bootscripts" revision="sysv"/> 235 <title><phrase revision="sysv">Boot Script</phrase> 236 <phrase revision="systemd">Systemd Unit</phrase></title> 237 238 <para>Install the 239 <phrase revision="sysv"><filename>/etc/rc.d/init.d/proftpd</filename> 240 init script</phrase> 241 <phrase revision="systemd"><filename>proftpd.service</filename> 242 unit</phrase> included in the 243 <xref linkend="bootscripts" revision="sysv"/> 239 244 <xref linkend="systemd-units" revision="systemd"/> 240 245 package.</para> -
server/major/vsftpd.xml
rbea508c r1258125 216 216 <phrase revision="systemd">Systemd Unit</phrase></title> 217 217 218 <para revision="sysv">Install the219 < filename>/etc/rc.d/init.d/vsftpd</filename> init script included in the220 <xref linkend="bootscripts" revision="sysv"/> package.</para>221 222 <para revision="systemd">Install the <filename>vsftpd.service</filename>223 unit included in the218 <para>Install the 219 <phrase revision="sysv"><filename>/etc/rc.d/init.d/vsftpd</filename> init 220 script</phrase> 221 <phrase revision="systemd"><filename>vsftpd.service</filename> 222 unit</phrase> included in the 223 <xref linkend="bootscripts" revision="sysv"/> 224 224 <xref linkend="systemd-units" revision="systemd"/> package.</para> 225 225 -
server/other/openldap.xml
rbea508c r1258125 411 411 412 412 <sect3 id="openldap-init"> 413 <title>Boot Script</title> 413 <title><phrase revision="sysv">Boot Script</phrase> 414 <phrase revision="systemd">Systemd Unit</phrase></title> 414 415 415 416 <para> 416 417 To automate the startup of the LDAP server at system bootup, 417 install the <filename>/etc/rc.d/init.d/slapd</filename> init script 418 included in the <xref linkend="bootscripts" revision="sysv"/> 419 <xref linkend="systemd-units" revision="systemd"/> package 420 using the following command: 418 install the 419 <phrase revision="sysv"><filename>/etc/rc.d/init.d/slapd</filename> 420 init script</phrase> 421 <phrase revision="systemd"><filename>slapd.service</filename> 422 unit</phrase> included in the 423 <xref linkend="bootscripts" revision="sysv"/> 424 <xref linkend="systemd-units" revision="systemd"/> 425 package using the following command: 421 426 </para> 422 427 … … 430 435 <para> 431 436 You'll need to modify the 432 <filename>/etc/sysconfig/slapd</filename> to include the 433 parameters needed for your specific configuration. See the 434 <command>slapd</command> man page for parameter information. 437 <phrase revision="sysv"><filename>/etc/sysconfig/slapd</filename></phrase> 438 <phrase revision="systemd"><filename>/etc/default/slapd</filename></phrase> 439 to include the parameters needed for your specific configuration. See 440 the <command>slapd</command> man page for parameter information. 435 441 </para> 436 442 </note> … … 442 448 443 449 <para> 444 Start the LDAP server using the init script: 445 </para> 446 447 <screen role="root"><userinput>/etc/rc.d/init.d/slapd start</userinput></screen> 450 Start the LDAP server using 451 <phrase revision="sysv">the init script:</phrase> 452 <phrase revision="systemd">systemctl:</phrase> 453 </para> 454 455 <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/slapd start</userinput></screen> 456 457 <screen role="root" revision="systemd"><userinput>systemctl start slapd</userinput></screen> 448 458 449 459 <para> -
server/other/unbound.xml
rbea508c r1258125 228 228 229 229 <sect3 id="unbound-init"> 230 <title>Boot Script</title> 230 <title><phrase revision="sysv">Boot Script</phrase> 231 <phrase revision="systemd">Systemd Unit</phrase></title> 231 232 232 233 <para>If you want the <application>Unbound</application> server to 233 234 start automatically when the system is booted, install the 234 <filename>/etc/rc.d/init.d/unbound</filename> init script included 235 <phrase revision="sysv"><filename>/etc/rc.d/init.d/unbound</filename> 236 init script</phrase> 237 <phrase revision="systemd"><filename>unbound.service</filename> 238 unit</phrase> included 235 239 in the <xref linkend="bootscripts" revision="sysv"/> 236 240 <xref linkend="systemd-units" revision="systemd"/> package.</para> -
server/other/xinetd.xml
rbea508c r1258125 397 397 398 398 <sect3 id="xinetd-init"> 399 <title>Boot Script</title> 399 <title><phrase revision="sysv">Boot Script</phrase> 400 <phrase revision="systemd">Systemd Unit</phrase></title> 400 401 401 402 <para>As the <systemitem class="username">root</systemitem> user, install 402 the <filename>/etc/rc.d/init.d/xinetd</filename> init script included in 403 the <phrase revision="sysv"><filename>/etc/rc.d/init.d/xinetd</filename> 404 init script</phrase> 405 <phrase revision="systemd"><filename>xinetd.service</filename> 406 unit</phrase> included in 403 407 the <xref linkend="bootscripts" revision="sysv"/> 404 408 <xref linkend="systemd-units" revision="systemd"/> package.</para> … … 411 415 412 416 <para>As the <systemitem class="username">root</systemitem> user, 413 use the new boot script to start <command>xinetd</command>:</para> 414 415 <screen role="root"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen> 416 417 <para>Check the <filename>/var/log/daemon.log</filename> to ensure the 418 appropriate services are started. If no services are enabled, the program 419 will not start without the <option>-stayalive</option> option.</para> 417 use the <phrase revision="sysv">new boot script</phrase> 418 <phrase revision="systemd"><command>systemctl</command> command</phrase> 419 to start <command>xinetd</command>:</para> 420 421 <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen> 422 423 <screen role="root" revision="systemd"><userinput>systemctl start xinetd</userinput></screen> 424 425 <para>Check the 426 <phrase revision="sysv"><filename>/var/log/daemon.log</filename></phrase> 427 <phrase revision="systemd"><command>journalctl</command> output</phrase> 428 to ensure the appropriate services are started. If no services are 429 enabled, the program will not start without the 430 <option>-stayalive</option> option.</para> 420 431 421 432 <!--
Note:
See TracChangeset
for help on using the changeset viewer.