Changeset 6bc9f48
- Timestamp:
- 07/20/2014 02:56:02 PM (10 years ago)
- Branches:
- systemd-11177
- Children:
- be67218
- Parents:
- ebf2e95
- Location:
- server
- Files:
-
- 3 edited
- 8 moved
Legend:
- Unmodified
- Added
- Removed
-
server/databases/databases.xml
rebf2e95 r6bc9f48 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="db.xml"/> 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mariadb .xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="postgresql .xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mariadb-systemd.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="postgresql-systemd.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sqlite.xml"/> 28 28 -
server/databases/mariadb-systemd.xml
rebf2e95 r6bc9f48 353 353 354 354 <sect3 id="mariadb-init"> 355 <title> Boot Script</title>356 357 <para> 358 Install the <filename>/etc/rc.d/init.d/mysql</filename> init script359 in cluded in the <xref linkend="bootscripts"/> package as360 the <systemitem class="username">root</systemitem> user to startthe361 < application>MariaDB</application> server during system boot-up.355 <title>Systemd Units</title> 356 357 <para> 358 To start the <command>mysqld</command> daemon at boot, 359 install the systemd unit from the <xref linkend="bootscripts"/> 360 package by running the following command as the 361 <systemitem class="username">root</systemitem> user: 362 362 </para> 363 363 … … 366 366 </indexterm> 367 367 368 <screen role="root"><userinput>make install-mysql </userinput></screen>368 <screen role="root"><userinput>make install-mysqld</userinput></screen> 369 369 370 370 </sect3> -
server/databases/postgresql-systemd.xml
rebf2e95 r6bc9f48 248 248 249 249 <sect3 id="postgresql-init"> 250 <title>Boot Script</title> 251 252 <para>Install the <filename>/etc/rc.d/init.d/postgresql</filename> 253 init script included in the 254 <xref linkend="bootscripts"/> package.</para> 250 <title>Systemd Units</title> 251 252 <para> 253 To start the <command>postgresql</command> daemon at boot, 254 install the systemd unit from the <xref linkend="bootscripts"/> 255 package by running the following command as the 256 <systemitem class="username">root</systemitem> user: 257 </para> 255 258 256 259 <indexterm zone="postgresql postgresql-init"> -
server/mail/dovecot-systemd.xml
rebf2e95 r6bc9f48 120 120 --localstatedir=/var \ 121 121 --docdir=/usr/share/doc/dovecot-&dovecot-version; \ 122 --disable-static && 122 --disable-static \ 123 --with-systemdsystemunitdir=/lib/systemd/system && 123 124 make</userinput></screen> 124 125 … … 138 139 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 139 140 href="../../xincludes/static-libraries.xml"/> 141 142 <para> 143 <parameter>--with-systemdsystemunitdir=/lib/systemd/system</parameter>: 144 This switch is used to set the correct installation directory for 145 systemd units. 146 </para> 140 147 141 148 <para> … … 238 245 239 246 <sect3 id="dovecot-init"> 240 <title>Boot Script</title> 241 242 <para>If you want the <application>Dovecot</application> server to 243 start automatically when the system is booted, install the 244 <filename>/etc/rc.d/init.d/dovecot</filename> init script included 245 in the <xref linkend="bootscripts"/> package.</para> 247 <title>Systemd Units</title> 248 249 <para> 250 To start the <command>dovecot</command> daemon at boot, 251 install the systemd unit from the <xref linkend="bootscripts"/> 252 package by running the following command as the 253 <systemitem class="username">root</systemitem> user: 254 </para> 246 255 247 256 <indexterm zone="dovecot dovecot-init"> … … 249 258 </indexterm> 250 259 251 <screen role="root"><userinput> make install-dovecot</userinput></screen>260 <screen role="root"><userinput>systemctl enable dovecot</userinput></screen> 252 261 253 262 </sect3> -
server/mail/exim-systemd.xml
rebf2e95 r6bc9f48 281 281 282 282 <sect3 id="exim-init"> 283 <title>Boot Script</title> 284 285 <para>To automate the running of <command>exim</command> at startup, 286 install the <filename>/etc/rc.d/init.d/exim</filename> init script 287 included in the <xref linkend="bootscripts"/> 288 package.</para> 283 <title>Systemd Units</title> 284 285 <para> 286 To start the <command>exim</command> daemon at boot, 287 install the systemd unit from the <xref linkend="bootscripts"/> 288 package by running the following command as the 289 <systemitem class="username">root</systemitem> user: 290 </para> 289 291 290 292 <indexterm zone="exim exim-init"> … … 293 295 294 296 <screen role="root"><userinput>make install-exim</userinput></screen> 295 296 <para>The bootscript also starts the <application>Exim</application>297 daemon and dispatches a queue runner process every 15 minutes. Modify298 the <option>-q<replaceable><time interval></replaceable></option>299 parameter in <filename>/etc/rc.d/init.d/exim</filename>, if necessary300 for your installation.</para>301 297 302 298 </sect3> -
server/mail/mail.xml
rebf2e95 r6bc9f48 23 23 server (Courier-IMAP).</para> 24 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dovecot .xml"/>26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="exim .xml"/>27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="postfix .xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dovecot-systemd.xml"/> 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="exim-systemd.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="postfix-systemd.xml"/> 28 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sendmail.xml"/> 29 29 -
server/mail/postfix-systemd.xml
rebf2e95 r6bc9f48 406 406 407 407 <sect3 id="postfix-init"> 408 <title>Boot Script</title> 409 410 <para> 411 To automate the running of Postfix at startup, install the 412 <filename>/etc/rc.d/init.d/postfix</filename> init script included in 413 the <xref linkend="bootscripts"/> package. 408 <title>Systemd Unit</title> 409 410 <para> 411 To start the <command>postfix</command> daemon at boot, 412 install the systemd unit from the <xref linkend="bootscripts"/> 413 package by running the following command as the 414 <systemitem class="username">root</systemitem> user: 414 415 </para> 415 416 -
server/other/openldap-systemd.xml
rebf2e95 r6bc9f48 407 407 408 408 <sect3 id="openldap-init"> 409 <title> Boot Script</title>410 411 <para> 412 To automate the startup of the LDAP server at system bootup,413 install the <filename>/etc/rc.d/init.d/slapd</filename> init script414 included in the <xref linkend="bootscripts"/> package415 using the following command:409 <title>Systemd Units</title> 410 411 <para> 412 To start the <command>slapd</command> daemon at boot, 413 install the systemd unit from the <xref linkend="bootscripts"/> 414 package by running the following command as the 415 <systemitem class="username">root</systemitem> user: 416 416 </para> 417 417 … … 425 425 <para> 426 426 You'll need to modify the 427 <filename>/etc/ sysconfig/slapd</filename> to include the427 <filename>/etc/default/slapd</filename> to include the 428 428 parameters needed for your specific configuration. See the 429 429 <command>slapd</command> man page for parameter information. … … 437 437 438 438 <para> 439 Start the LDAP server using the init script:440 </para> 441 442 <screen role="root"><userinput> /etc/rc.d/init.d/slapd start</userinput></screen>439 Start the LDAP server using <command>systemctl</command>: 440 </para> 441 442 <screen role="root"><userinput>systemctl start slapd</userinput></screen> 443 443 444 444 <para> -
server/other/other.xml
rebf2e95 r6bc9f48 23 23 that you can analyze the risks.</para> 24 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openldap .xml"/>25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openldap-systemd.xml"/> 26 26 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="soprano.xml"/>--> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unbound .xml"/>27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="unbound-systemd.xml"/> 28 28 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="virtuoso.xml"/>--> 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xinetd .xml"/>29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xinetd-systemd.xml"/> 30 30 31 31 </chapter> -
server/other/unbound-systemd.xml
rebf2e95 r6bc9f48 211 211 212 212 <sect3 id="unbound-init"> 213 <title>Boot Script</title> 214 215 <para>If you want the <application>Unbound</application> server to 216 start automatically when the system is booted, install the 217 <filename>/etc/rc.d/init.d/unbound</filename> init script included 218 in the <xref linkend="bootscripts"/> package.</para> 213 <title>Systemd Units</title> 214 215 <para> 216 To start the <command>unbound</command> daemon at boot, 217 install the systemd unit from the <xref linkend="bootscripts"/> 218 package by running the following command as the 219 <systemitem class="username">root</systemitem> user: 220 </para> 219 221 220 222 <indexterm zone="unbound unbound-init"> -
server/other/xinetd-systemd.xml
rebf2e95 r6bc9f48 397 397 398 398 <sect3 id="xinetd-init"> 399 <title>Boot Script</title> 400 401 <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 <xref linkend="bootscripts"/> package.</para> 399 <title>Systemd Units</title> 400 401 <para> 402 To start the <command>xinetd</command> daemon at boot, 403 install the systemd unit from the <xref linkend="bootscripts"/> 404 package by running the following command as the 405 <systemitem class="username">root</systemitem> user: 406 </para> 404 407 405 408 <indexterm zone="xinetd xinetd-init"> … … 410 413 411 414 <para>As the <systemitem class="username">root</systemitem> user, 412 use the new boot script to start <command>xinetd</command>:</para> 413 414 <screen role="root"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen> 415 416 <para>Check the <filename>/var/log/daemon.log</filename> to ensure the 415 use the <command>systemctl</command> utility to start 416 <command>xinetd</command>:</para> 417 418 <screen role="root"><userinput>systemctl start xinetd</userinput></screen> 419 420 <para>Check the <command>journalctl</command> output to ensure the 417 421 appropriate services are started. If no services are enabled, the program 418 422 will not start without the <option>-stayalive</option> option.</para>
Note:
See TracChangeset
for help on using the changeset viewer.