Changeset 1be4837c
- Timestamp:
- 10/26/2014 10:42:39 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- 44ae5736
- Parents:
- da4ed49
- Files:
-
- 5 edited
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
introduction/welcome/changelog.xml
rda4ed49 r1be4837c 50 50 <listitem> 51 51 <para>[krejzi] - .</para> 52 </listitem> 53 <listitem> 54 <para>[krejzi] - Converted Apache, Bind9, ProFTPD, vsFTPD, OpenLDAP, Unbound and Xinetd instructions to work on systemd setups.</para> 55 </listitem> 56 <listitem> 57 <para>[krejzi] - Converted MariaDB, PostgreSQL, Dovecot, Exim, Postfix and Sendmail instructions to work on systemd setups.</para> 52 58 </listitem> 53 59 <listitem> -
server/databases/databases.xml
rda4ed49 r1be4837c 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
rda4ed49 r1be4837c 352 352 353 353 <sect3 id="mariadb-init"> 354 <title> Boot Script</title>355 356 <para> 357 Install the <filename>/etc/rc.d/init.d/mysql</filename> init script358 in cluded in the <xref linkend="bootscripts"/> package as359 the <systemitem class="username">root</systemitem> user to startthe360 < application>MariaDB</application> server during system boot-up.354 <title>Systemd Units</title> 355 356 <para> 357 To start the <command>mysqld</command> daemon at boot, 358 install the systemd unit from the <xref linkend="bootscripts"/> 359 package by running the following command as the 360 <systemitem class="username">root</systemitem> user: 361 361 </para> 362 362 … … 365 365 </indexterm> 366 366 367 <screen role="root"><userinput>make install-mysql </userinput></screen>367 <screen role="root"><userinput>make install-mysqld</userinput></screen> 368 368 369 369 </sect3> -
server/databases/postgresql-systemd.xml
rda4ed49 r1be4837c 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 253 <xref linkend="bootscripts"/> package.</para> 249 <title>Systemd Units</title> 250 251 <para> 252 To start the <command>postgresql</command> daemon at boot, 253 install the systemd unit from the <xref linkend="bootscripts"/> 254 package by running the following command as the 255 <systemitem class="username">root</systemitem> user: 256 </para> 254 257 255 258 <indexterm zone="postgresql postgresql-init"> -
server/mail/dovecot-systemd.xml
rda4ed49 r1be4837c 80 80 <para role="optional"> 81 81 <xref linkend="clucene"/>, 82 <xref linkend="libcap-pam"/>,83 82 <xref linkend="linux-pam"/>, 84 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>, 85 <xref linkend="mitkrb"/> (for GSSAPI support), 83 <xref linkend="mariadb"/>, 86 84 <xref linkend="openldap"/>, 87 85 <xref linkend="openssl"/>, … … 121 119 --localstatedir=/var \ 122 120 --docdir=/usr/share/doc/dovecot-&dovecot-version; \ 123 --disable-static && 121 --disable-static \ 122 --with-systemdsystemunitdir=/lib/systemd/system && 124 123 make</userinput></screen> 125 124 … … 142 141 143 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> 147 148 <para> 144 149 <option>--with-ldap</option>: This switch enables 145 150 <application>OpenLDAP</application> authentication support. … … 164 169 <option>--with-lucene</option>: This switch enables 165 170 <application>CLucene</application> full text search support. 166 </para>167 168 <para>169 <option>--with-krb5</option>: This switch enables170 GSSAPI authentication support.171 171 </para> 172 172 … … 240 240 241 241 <sect3 id="dovecot-init"> 242 <title>Boot Script</title> 243 244 <para>If you want the <application>Dovecot</application> server to 245 start automatically when the system is booted, install the 246 <filename>/etc/rc.d/init.d/dovecot</filename> init script included 247 in the <xref linkend="bootscripts"/> package.</para> 242 <title>Systemd Units</title> 243 244 <para> 245 To start the <command>dovecot</command> daemon at boot, 246 install the systemd unit from the <xref linkend="bootscripts"/> 247 package by running the following command as the 248 <systemitem class="username">root</systemitem> user: 249 </para> 248 250 249 251 <indexterm zone="dovecot dovecot-init"> … … 251 253 </indexterm> 252 254 253 <screen role="root"><userinput> make install-dovecot</userinput></screen>255 <screen role="root"><userinput>systemctl enable dovecot</userinput></screen> 254 256 255 257 </sect3> -
server/mail/exim-systemd.xml
rda4ed49 r1be4837c 285 285 286 286 <sect3 id="exim-init"> 287 <title>Boot Script</title> 288 289 <para>To automate the running of <command>exim</command> at startup, 290 install the <filename>/etc/rc.d/init.d/exim</filename> init script 291 included in the <xref linkend="bootscripts"/> 292 package.</para> 287 <title>Systemd Units</title> 288 289 <para> 290 To start the <command>exim</command> daemon at boot, 291 install the systemd unit from the <xref linkend="bootscripts"/> 292 package by running the following command as the 293 <systemitem class="username">root</systemitem> user: 294 </para> 293 295 294 296 <indexterm zone="exim exim-init"> … … 297 299 298 300 <screen role="root"><userinput>make install-exim</userinput></screen> 299 300 <para>The bootscript also starts the <application>Exim</application>301 daemon and dispatches a queue runner process every 15 minutes. Modify302 the <option>-q<replaceable><time interval></replaceable></option>303 parameter in <filename>/etc/rc.d/init.d/exim</filename>, if necessary304 for your installation.</para>305 301 306 302 </sect3> -
server/mail/mail.xml
rda4ed49 r1be4837c 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"/>28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sendmail .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 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sendmail-systemd.xml"/> 29 29 30 30 </chapter> -
server/mail/postfix-systemd.xml
rda4ed49 r1be4837c 79 79 <bridgehead renderas="sect4">Recommended</bridgehead> 80 80 <para role="recommended"> 81 <xref linkend=" db"/>,82 <xref linkend=" cyrus-sasl"/>, and81 <xref linkend="cyrus-sasl"/>, 82 <xref linkend="db"/>, and 83 83 <xref linkend="openssl"/> 84 84 </para> … … 86 86 <bridgehead renderas="sect4">Optional</bridgehead> 87 87 <para role="optional"> 88 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,88 <xref linkend="mariadb"/>, 89 89 <xref linkend="openldap"/>, 90 90 <xref linkend="pcre"/>, … … 402 402 403 403 <sect3 id="postfix-init"> 404 <title>Boot Script</title> 405 406 <para> 407 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"/> package. 404 <title>Systemd Units</title> 405 406 <para> 407 To start the <command>postfix</command> daemon at boot, 408 install the systemd unit from the <xref linkend="bootscripts"/> 409 package by running the following command as the 410 <systemitem class="username">root</systemitem> user: 410 411 </para> 411 412 -
server/mail/sendmail-systemd.xml
rda4ed49 r1be4837c 260 260 261 261 <sect3 id="sendmail-init"> 262 <title>Boot Script</title> 263 264 <para>To automate the running of <application>sendmail</application> 265 at startup, install the <filename>/etc/rc.d/init.d/sendmail</filename> 266 init script included in the 267 <xref linkend="bootscripts"/> package.</para> 262 <title>Systemd Units</title> 263 264 <para> 265 To start the <command>sendmail</command> daemon at boot, 266 install the systemd unit from the <xref linkend="bootscripts"/> 267 package by running the following command as the 268 <systemitem class="username">root</systemitem> user: 269 </para> 268 270 269 271 <indexterm zone="sendmail sendmail-init"> … … 276 278 <para>The -qNm option to <command>sendmail</command>, where N is number 277 279 of minutes, controls how often <application>sendmail</application> will 278 process the mail queue. A default of 5 minutes is used in the init279 script. Individual workstation users may want to set this as low as 1280 process the mail queue. A default of 5 minutes is used in the systemd 281 units. Individual workstation users may want to set this as low as 1 280 282 minute, large installations handling more mail may want to set it 281 higher.</para> 283 higher. The value can be changed in 284 <filename>/etc/default/sendmail</filename> file.</para> 282 285 </note> 283 286 -
server/major/apache-systemd.xml
rda4ed49 r1be4837c 103 103 <xref linkend="lynx"/>, 104 104 <xref linkend="openldap"/> (<xref linkend="apr-util"/> needs to be 105 installed with ldapsuport),105 compiled with LDAP suport), 106 106 <xref linkend="rsync"/>, 107 107 <ulink url="http://www.distcache.org/">Distcache</ulink>, and … … 154 154 155 155 <para> 156 Now, as the <systemitem class="username">root</systemitem> user 157 (notice that DESTDIR does not work properly as unpriviledged user): 156 Now, as the <systemitem class="username">root</systemitem> user: 158 157 </para> 159 158 … … 161 160 162 161 mv -v /usr/sbin/suexec /usr/lib/httpd/suexec && 163 chgrp apache/usr/lib/httpd/suexec &&164 chmod 4754/usr/lib/httpd/suexec &&162 chgrp -v apache /usr/lib/httpd/suexec && 163 chmod -v 4754 /usr/lib/httpd/suexec && 165 164 166 165 chown -v -R apache:apache /srv/www</userinput></screen> … … 264 263 265 264 <sect3 id="httpd-init"> 266 <title> Boot Script</title>265 <title>Systemd Units</title> 267 266 268 267 <para> 269 If you want the <application>Apache</application> server to270 start automatically when the system is booted, install the271 <filename>/etc/rc.d/init.d/httpd</filename> init script included272 in the <xref linkend="bootscripts"/> package.268 To start the <command>httpd</command> daemon at boot, 269 install the systemd unit from the <xref linkend="bootscripts"/> 270 package by running the following command as the 271 <systemitem class="username">root</systemitem> user: 273 272 </para> 274 273 275 274 <indexterm zone="apache httpd-init"> 276 <primary sortas="f- apache">apache</primary>275 <primary sortas="f-httpd">httpd</primary> 277 276 </indexterm> 278 277 … … 298 297 </seg> 299 298 <seg> 300 Several libraries under /usr/lib/httpd/modules/299 None 301 300 </seg> 302 301 <seg> -
server/major/bind-systemd.xml
rda4ed49 r1be4837c 72 72 <bridgehead renderas="sect4">Optional</bridgehead> 73 73 <para role="optional"> 74 <xref linkend="libcap-pam"/>,75 74 <xref linkend="libxml2"/>, 76 75 <xref linkend="mitkrb"/>, and … … 156 155 157 156 <screen role="root"><userinput>make install && 158 chmod -v 0755 /usr/lib/lib{bind9,dns,isc{,cc,cfg},lwres}.so &&159 160 install -v - m755 -d/usr/share/doc/bind-&bind-version;/{arm,misc} &&161 install -v -m644 162 157 chmod -v 755 /usr/lib/lib{bind9,dns,isc{,cc,cfg},lwres}.so && 158 159 install -v -dm755 /usr/share/doc/bind-&bind-version;/{arm,misc} && 160 install -v -m644 doc/arm/*.html \ 161 /usr/share/doc/bind-&bind-version;/arm && 163 162 install -v -m644 \ 164 163 doc/misc/{dnssec,ipv6,migrat*,options,rfc-compliance,roadmap,sdb} \ … … 256 255 257 256 <screen role="root"><userinput>cd /srv/named && 258 mkdir -p dev etc/namedb/{slave,pz} usr/lib/engines var/run/named &&257 mkdir -pv dev etc/namedb/{slave,pz} usr/lib/engines var/run/named && 259 258 mknod /srv/named/dev/null c 1 3 && 260 259 mknod /srv/named/dev/urandom c 1 9 && 261 chmod 666 /srv/named/dev/{null,urandom} &&262 cp /etc/localtime etc &&260 chmod -v 666 /srv/named/dev/{null,urandom} && 261 cp -Lv /etc/localtime etc && 263 262 touch /srv/named/managed-keys.bind && 264 cp /usr/lib/engines/libgost.so usr/lib/engines &&265 [ $(uname -m) = x86_64 ] && ln -s v lib usr/lib64</userinput></screen>263 cp -v /usr/lib/engines/libgost.so usr/lib/engines && 264 [ $(uname -m) = x86_64 ] && ln -sfv lib usr/lib64</userinput></screen> 266 265 267 266 <para>The <filename>rndc.conf</filename> file contains information for … … 411 410 412 411 <sect3 id="bind-init"> 413 <title>Boot Script</title> 414 415 <para>To start the DNS server at boot, install the 416 <filename>/etc/rc.d/init.d/bind</filename> init script included 417 in the <xref linkend="bootscripts"/> package.</para> 412 <title>Systemd Units</title> 413 414 <para> 415 To start the <command>named</command> daemon at boot, 416 install the systemd unit from the <xref linkend="bootscripts"/> 417 package by running the following command as the 418 <systemitem class="username">root</systemitem> user: 419 </para> 418 420 419 421 <indexterm zone="bind bind-init"> … … 421 423 </indexterm> 422 424 423 <screen role="root"><userinput>make install- bind</userinput></screen>424 425 <para>Now start <application>BIND</application> with426 the new boot script:</para>427 428 <screen role="root"><userinput> /etc/rc.d/init.d/bind start</userinput></screen>425 <screen role="root"><userinput>make install-named</userinput></screen> 426 427 <para>Now start <application>BIND</application> using 428 the <command>systemctl</command> utility:</para> 429 430 <screen role="root"><userinput>systemctl start named</userinput></screen> 429 431 430 432 </sect3> -
server/major/major.xml
rda4ed49 r1be4837c 19 19 to users or other programs.</para> 20 20 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apache .xml"/>22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bind .xml"/>23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="proftpd .xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vsftpd .xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apache-systemd.xml"/> 22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bind-systemd.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="proftpd-systemd.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vsftpd-systemd.xml"/> 25 25 26 26 </chapter> -
server/major/proftpd-systemd.xml
rda4ed49 r1be4837c 62 62 <bridgehead renderas="sect4">Optional</bridgehead> 63 63 <para role="optional"> 64 <xref linkend="libcap-pam"/>,65 64 <xref linkend="linux-pam"/>, 66 65 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>, … … 89 88 90 89 install -v -d -m775 -o proftpd -g proftpd /srv/ftp && 91 ln - v -s /bin/false /usr/bin/proftpdshell&&90 ln -sfv /bin/false /usr/bin/proftpdshell && 92 91 echo /usr/bin/proftpdshell >> /etc/shells</userinput></screen> 93 92 … … 233 232 234 233 <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"/> 239 package.</para> 234 <title>Systemd Units</title> 235 236 <para> 237 To start the <command>proftpd</command> daemon at boot, 238 install the systemd unit from the <xref linkend="bootscripts"/> 239 package by running the following command as the 240 <systemitem class="username">root</systemitem> user: 241 </para> 240 242 241 243 <indexterm zone="proftpd proftpd-init"> -
server/major/vsftpd-systemd.xml
rda4ed49 r1be4837c 63 63 <bridgehead renderas="sect4">Optional</bridgehead> 64 64 <para role="optional"> 65 <xref linkend="libcap-pam"/>, 66 <xref linkend="linux-pam"/>, and 65 <xref linkend="linux-pam"/> and 67 66 <xref linkend="openssl"/> 68 67 </para> … … 82 81 users, and groups with the following commands:</para> 83 82 84 <screen role="root"><userinput>install -v -d -m 0755 &vsftpd-empty; && 85 install -v -d -m 0755 /home/ftp && 86 groupadd -g 47 vsftpd && 87 groupadd -g 45 ftp && 83 <screen role="root"><userinput> 84 install -v -dm755 &vsftpd-empty; && 85 install -v -dm755 /home/ftp && 86 groupadd -g 47 vsftpd && 87 groupadd -g 45 ftp && 88 88 89 89 useradd -c "vsftpd User" -d /dev/null -g vsftpd -s /bin/false -u 47 vsftpd && 90 90 useradd -c anonymous_user -d /home/ftp -g ftp -s /bin/false -u 45 ftp</userinput></screen> 91 91 92 <para>If you did not install the optional <application>libcap2</application> package,92 <!-- <para>If you did not install the optional <application>libcap2</application> package, 93 93 run the following to avoid a build error:</para> 94 94 95 <screen><userinput>sed -i -e 's|#define VSF_SYSDEP_HAVE_LIBCAP|//&|' sysdeputil.c</userinput></screen> 95 <screen><userinput>sed -i -e 's|#define VSF_SYSDEP_HAVE_LIBCAP|//&|' sysdeputil.c</userinput></screen> --> 96 96 97 97 <para>Build <application>vsftpd</application> as an unprivileged user … … 181 181 182 182 <sect3 id="vsftpd-init"> 183 <title>Boot Script</title> 184 185 <para>Install the <filename>/etc/rc.d/init.d/vsftpd</filename> 186 init script included in the 187 <xref linkend="bootscripts"/> package.</para> 183 <title>Systemd Units</title> 184 185 <para> 186 To start the <command>vsftpd</command> daemon at boot, 187 install the systemd unit from the <xref linkend="bootscripts"/> 188 package by running the following command as the 189 <systemitem class="username">root</systemitem> user: 190 </para> 188 191 189 192 <screen role="root"><userinput>make install-vsftpd</userinput></screen> -
server/other/openldap-systemd.xml
rda4ed49 r1be4837c 91 91 <bridgehead renderas="sect4">Recommended</bridgehead> 92 92 <para role="recommended"> 93 <xref linkend=" db"/> (only if building server),94 <xref linkend=" cyrus-sasl"/>,and93 <xref linkend="cyrus-sasl"/>, 94 <xref linkend="db"/> (only if building server) and 95 95 <xref linkend="openssl"/> 96 96 </para> … … 99 99 <para role="optional"> 100 100 <xref linkend="icu"/>, 101 <xref linkend="mariadb"/> or 102 <ulink url="http://www.mysql.com/">MySQL</ulink> or 103 <xref linkend="postgresql"/>, 101 <xref linkend="mariadb"/> or 102 <xref linkend="postgresql"/>, 104 103 <ulink url="http://www.openslp.org/">OpenSLP</ulink>, 105 104 <xref linkend="pth"/> and … … 187 186 188 187 <para> 189 To test the results, issue: <command>make test</command>. Tests may fail 190 after a long time (~ 5 SBU). 188 To test the results, issue: <command>make -k test</command>. 191 189 </para> 192 190 … … 223 221 224 222 <para> 225 <command>sed ... configure</command>: Fix <command>configure</command> 226 script for building with <application>Berkeley DB-6.0.20</application> or 227 later. 223 <command>sed ... configure</command>: This command prevents 224 <command>configure</command> from failing when 225 <application>Berkeley-DB-6.0.20</application> or later is 226 found on the system. 228 227 </para> 229 228 … … 397 396 398 397 <sect3 id="openldap-init"> 399 <title> Boot Script</title>400 401 <para> 402 To automate the startup of the LDAP server at system bootup,403 install the <filename>/etc/rc.d/init.d/slapd</filename> init script404 included in the <xref linkend="bootscripts"/> package405 using the following command:398 <title>Systemd Units</title> 399 400 <para> 401 To start the <command>slapd</command> daemon at boot, 402 install the systemd unit from the <xref linkend="bootscripts"/> 403 package by running the following command as the 404 <systemitem class="username">root</systemitem> user: 406 405 </para> 407 406 … … 415 414 <para> 416 415 You'll need to modify the 417 <filename>/etc/ sysconfig/slapd</filename> to include the416 <filename>/etc/default/slapd</filename> to include the 418 417 parameters needed for your specific configuration. See the 419 418 <command>slapd</command> man page for parameter information. … … 427 426 428 427 <para> 429 Start the LDAP server using the init script:430 </para> 431 432 <screen role="root"><userinput> /etc/rc.d/init.d/slapd start</userinput></screen>428 Start the LDAP server using <command>systemctl</command>: 429 </para> 430 431 <screen role="root"><userinput>systemctl start slapd</userinput></screen> 433 432 434 433 <para> -
server/other/other.xml
rda4ed49 r1be4837c 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
rda4ed49 r1be4837c 155 155 156 156 <para> 157 <option>--with-libevent</option>: This optionenables libevent support157 <option>--with-libevent</option>: This switch enables libevent support 158 158 allowing use of large outgoing port ranges. 159 159 </para> 160 160 161 161 <para> 162 <option>--with-pyunbound</option>: This optionenables building of the Python162 <option>--with-pyunbound</option>: This switch enables building of the Python 163 163 bindings. 164 164 </para> … … 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
rda4ed49 r1be4837c 8 8 <!-- <!ENTITY xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz"> --> 9 9 <!ENTITY xinetd-download-http " "> 10 <!ENTITY xinetd-download-ftp "& sources-anduin-ftp;/x/xinetd-&xinetd-version;.tar.gz">10 <!ENTITY xinetd-download-ftp "&gentoo-ftp-repo;/xinetd-&xinetd-version;.tar.gz"> 11 11 <!ENTITY xinetd-md5sum "77358478fd58efa6366accae99b8b04c"> 12 12 <!ENTITY xinetd-size "308 KB"> … … 77 77 commands:</para> 78 78 79 <screen><userinput>sed -i -e "s/exec_server/child_process/" xinetd/builtins.c &&79 <screen><userinput>sed -i -e "s/exec_server/child_process/" xinetd/builtins.c && 80 80 sed -i -e "/register unsigned count/s/register//" xinetd/itox.c && 81 81 ./configure --prefix=/usr --mandir=/usr/share/man --with-loadavg && … … 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.