Changeset 1be4837c


Ignore:
Timestamp:
10/26/2014 10:42:39 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
44ae5736
Parents:
da4ed49
Message:

Convert entire Servers section.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/krejzi@14757 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
5 edited
13 moved

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    rda4ed49 r1be4837c  
    5050        <listitem>
    5151          <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>
    5258        </listitem>
    5359        <listitem>
  • server/databases/databases.xml

    rda4ed49 r1be4837c  
    2323
    2424  <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"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sqlite.xml"/>
    2828
  • server/databases/mariadb-systemd.xml

    rda4ed49 r1be4837c  
    352352
    353353    <sect3 id="mariadb-init">
    354       <title>Boot Script</title>
    355 
    356       <para>
    357         Install the <filename>/etc/rc.d/init.d/mysql</filename> init script
    358         included in the <xref linkend="bootscripts"/> package as
    359         the <systemitem class="username">root</systemitem> user to start the
    360         <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:
    361361      </para>
    362362
     
    365365      </indexterm>
    366366
    367 <screen role="root"><userinput>make install-mysql</userinput></screen>
     367<screen role="root"><userinput>make install-mysqld</userinput></screen>
    368368
    369369    </sect3>
  • server/databases/postgresql-systemd.xml

    rda4ed49 r1be4837c  
    247247
    248248    <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>
    254257
    255258      <indexterm zone="postgresql postgresql-init">
  • server/mail/dovecot-systemd.xml

    rda4ed49 r1be4837c  
    8080    <para role="optional">
    8181      <xref linkend="clucene"/>,
    82       <xref linkend="libcap-pam"/>,
    8382      <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"/>,
    8684      <xref linkend="openldap"/>,
    8785      <xref linkend="openssl"/>,
     
    121119            --localstatedir=/var \
    122120            --docdir=/usr/share/doc/dovecot-&dovecot-version; \
    123             --disable-static &amp;&amp;
     121            --disable-static \
     122            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
    124123make</userinput></screen>
    125124
     
    142141
    143142    <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>
    144149      <option>--with-ldap</option>: This switch enables
    145150      <application>OpenLDAP</application> authentication support.
     
    164169      <option>--with-lucene</option>: This switch enables
    165170      <application>CLucene</application> full text search support.
    166     </para>
    167 
    168     <para>
    169       <option>--with-krb5</option>: This switch enables
    170       GSSAPI authentication support.
    171171    </para>
    172172
     
    240240
    241241    <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>
    248250
    249251      <indexterm zone="dovecot dovecot-init">
     
    251253      </indexterm>
    252254
    253 <screen role="root"><userinput>make install-dovecot</userinput></screen>
     255<screen role="root"><userinput>systemctl enable dovecot</userinput></screen>
    254256
    255257    </sect3>
  • server/mail/exim-systemd.xml

    rda4ed49 r1be4837c  
    285285
    286286    <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>
    293295
    294296      <indexterm zone="exim exim-init">
     
    297299
    298300<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. Modify
    302       the <option>-q<replaceable>&lt;time interval&gt;</replaceable></option>
    303       parameter in <filename>/etc/rc.d/init.d/exim</filename>, if necessary
    304       for your installation.</para>
    305301
    306302    </sect3>
  • server/mail/mail.xml

    rda4ed49 r1be4837c  
    2323  server (Courier-IMAP).</para>
    2424
    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"/>
    2929
    3030</chapter>
  • server/mail/postfix-systemd.xml

    rda4ed49 r1be4837c  
    7979    <bridgehead renderas="sect4">Recommended</bridgehead>
    8080    <para role="recommended">
    81       <xref linkend="db"/>,
    82       <xref linkend="cyrus-sasl"/>, and
     81      <xref linkend="cyrus-sasl"/>,
     82      <xref linkend="db"/>, and
    8383      <xref linkend="openssl"/>
    8484    </para>
     
    8686    <bridgehead renderas="sect4">Optional</bridgehead>
    8787    <para role="optional">
    88       <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
     88      <xref linkend="mariadb"/>,
    8989      <xref linkend="openldap"/>,
    9090      <xref linkend="pcre"/>,
     
    402402
    403403    <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:
    410411      </para>
    411412
  • server/mail/sendmail-systemd.xml

    rda4ed49 r1be4837c  
    260260
    261261    <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>
    268270
    269271      <indexterm zone="sendmail sendmail-init">
     
    276278        <para>The -qNm option to <command>sendmail</command>, where N is number
    277279        of minutes, controls how often <application>sendmail</application> will
    278         process the mail queue. A default of 5 minutes is used in the init
    279         script. Individual workstation users may want to set this as low as 1
     280        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
    280282        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>
    282285      </note>
    283286
  • server/major/apache-systemd.xml

    rda4ed49 r1be4837c  
    103103      <xref linkend="lynx"/>,
    104104      <xref linkend="openldap"/> (<xref linkend="apr-util"/> needs to be
    105       installed with ldap suport),
     105      compiled with LDAP suport),
    106106      <xref linkend="rsync"/>,
    107107      <ulink url="http://www.distcache.org/">Distcache</ulink>, and
     
    154154
    155155    <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:
    158157    </para>
    159158
     
    161160
    162161mv -v /usr/sbin/suexec /usr/lib/httpd/suexec &amp;&amp;
    163 chgrp apache           /usr/lib/httpd/suexec &amp;&amp;
    164 chmod 4754             /usr/lib/httpd/suexec &amp;&amp;
     162chgrp -v apache        /usr/lib/httpd/suexec &amp;&amp;
     163chmod -v 4754          /usr/lib/httpd/suexec &amp;&amp;
    165164
    166165chown -v -R apache:apache /srv/www</userinput></screen>
     
    264263
    265264    <sect3  id="httpd-init">
    266       <title>Boot Script</title>
     265      <title>Systemd Units</title>
    267266
    268267      <para>
    269         If you want the <application>Apache</application> server to
    270         start automatically when the system is booted, install the
    271         <filename>/etc/rc.d/init.d/httpd</filename> init script included
    272         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:
    273272      </para>
    274273
    275274      <indexterm zone="apache httpd-init">
    276         <primary sortas="f-apache">apache</primary>
     275        <primary sortas="f-httpd">httpd</primary>
    277276      </indexterm>
    278277
     
    298297        </seg>
    299298        <seg>
    300           Several libraries under /usr/lib/httpd/modules/
     299          None
    301300        </seg>
    302301        <seg>
  • server/major/bind-systemd.xml

    rda4ed49 r1be4837c  
    7272    <bridgehead renderas="sect4">Optional</bridgehead>
    7373    <para role="optional">
    74       <xref linkend="libcap-pam"/>,
    7574      <xref linkend="libxml2"/>,
    7675      <xref linkend="mitkrb"/>, and
     
    156155
    157156<screen role="root"><userinput>make install &amp;&amp;
    158 chmod -v 0755 /usr/lib/lib{bind9,dns,isc{,cc,cfg},lwres}.so &amp;&amp;
    159 
    160 install -v -m755 -d /usr/share/doc/bind-&bind-version;/{arm,misc} &amp;&amp;
    161 install -v -m644    doc/arm/*.html \
    162                     /usr/share/doc/bind-&bind-version;/arm &amp;&amp;
     157chmod -v 755 /usr/lib/lib{bind9,dns,isc{,cc,cfg},lwres}.so &amp;&amp;
     158
     159install -v -dm755 /usr/share/doc/bind-&bind-version;/{arm,misc} &amp;&amp;
     160install -v -m644  doc/arm/*.html \
     161                  /usr/share/doc/bind-&bind-version;/arm &amp;&amp;
    163162install -v -m644 \
    164163    doc/misc/{dnssec,ipv6,migrat*,options,rfc-compliance,roadmap,sdb} \
     
    256255
    257256<screen role="root"><userinput>cd /srv/named &amp;&amp;
    258 mkdir -p dev etc/namedb/{slave,pz} usr/lib/engines var/run/named &amp;&amp;
     257mkdir -pv dev etc/namedb/{slave,pz} usr/lib/engines var/run/named &amp;&amp;
    259258mknod /srv/named/dev/null c 1 3 &amp;&amp;
    260259mknod /srv/named/dev/urandom c 1 9 &amp;&amp;
    261 chmod 666 /srv/named/dev/{null,urandom} &amp;&amp;
    262 cp /etc/localtime etc &amp;&amp;
     260chmod -v 666 /srv/named/dev/{null,urandom} &amp;&amp;
     261cp -Lv /etc/localtime etc &amp;&amp;
    263262touch /srv/named/managed-keys.bind &amp;&amp;
    264 cp /usr/lib/engines/libgost.so usr/lib/engines &amp;&amp;
    265 [ $(uname -m) = x86_64 ] &amp;&amp; ln -sv lib usr/lib64</userinput></screen>
     263cp -v /usr/lib/engines/libgost.so usr/lib/engines &amp;&amp;
     264[ $(uname -m) = x86_64 ] &amp;&amp; ln -sfv lib usr/lib64</userinput></screen>
    266265
    267266      <para>The <filename>rndc.conf</filename> file contains information for
     
    411410
    412411    <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>
    418420
    419421      <indexterm zone="bind bind-init">
     
    421423      </indexterm>
    422424
    423 <screen role="root"><userinput>make install-bind</userinput></screen>
    424 
    425       <para>Now start <application>BIND</application> with
    426       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>
    429431
    430432    </sect3>
  • server/major/major.xml

    rda4ed49 r1be4837c  
    1919  to users or other programs.</para>
    2020
    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"/>
    2525
    2626</chapter>
  • server/major/proftpd-systemd.xml

    rda4ed49 r1be4837c  
    6262    <bridgehead renderas="sect4">Optional</bridgehead>
    6363    <para role="optional">
    64       <xref linkend="libcap-pam"/>,
    6564      <xref linkend="linux-pam"/>,
    6665      <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
     
    8988
    9089install -v -d -m775 -o proftpd -g proftpd /srv/ftp &amp;&amp;
    91 ln -v -s /bin/false /usr/bin/proftpdshell          &amp;&amp;
     90ln -sfv /bin/false /usr/bin/proftpdshell           &amp;&amp;
    9291echo /usr/bin/proftpdshell &gt;&gt; /etc/shells</userinput></screen>
    9392
     
    233232
    234233    <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>
    240242
    241243      <indexterm zone="proftpd proftpd-init">
  • server/major/vsftpd-systemd.xml

    rda4ed49 r1be4837c  
    6363    <bridgehead renderas="sect4">Optional</bridgehead>
    6464    <para role="optional">
    65       <xref linkend="libcap-pam"/>,
    66       <xref linkend="linux-pam"/>, and
     65      <xref linkend="linux-pam"/> and
    6766      <xref linkend="openssl"/>
    6867    </para>
     
    8281    users, and groups with the following commands:</para>
    8382
    84 <screen role="root"><userinput>install -v -d -m 0755 &vsftpd-empty; &amp;&amp;
    85 install -v -d -m 0755 /home/ftp               &amp;&amp;
    86 groupadd -g 47 vsftpd                         &amp;&amp;
    87 groupadd -g 45 ftp                            &amp;&amp;
     83<screen role="root"><userinput>
     84install -v -dm755 &vsftpd-empty; &amp;&amp;
     85install -v -dm755 /home/ftp               &amp;&amp;
     86groupadd -g 47 vsftpd                     &amp;&amp;
     87groupadd -g 45 ftp                        &amp;&amp;
    8888
    8989useradd -c "vsftpd User"  -d /dev/null -g vsftpd -s /bin/false -u 47 vsftpd &amp;&amp;
    9090useradd -c anonymous_user -d /home/ftp -g ftp    -s /bin/false -u 45 ftp</userinput></screen>
    9191
    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,
    9393    run the following to avoid a build error:</para>
    9494
    95 <screen><userinput>sed -i -e 's|#define VSF_SYSDEP_HAVE_LIBCAP|//&amp;|' sysdeputil.c</userinput></screen>
     95<screen><userinput>sed -i -e 's|#define VSF_SYSDEP_HAVE_LIBCAP|//&amp;|' sysdeputil.c</userinput></screen> -->
    9696
    9797    <para>Build <application>vsftpd</application> as an unprivileged user
     
    181181
    182182    <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>
    188191
    189192<screen role="root"><userinput>make install-vsftpd</userinput></screen>
  • server/other/openldap-systemd.xml

    rda4ed49 r1be4837c  
    9191    <bridgehead renderas="sect4">Recommended</bridgehead>
    9292    <para role="recommended">
    93       <xref linkend="db"/> (only if building server),
    94       <xref linkend="cyrus-sasl"/>, and
     93      <xref linkend="cyrus-sasl"/>,
     94      <xref linkend="db"/> (only if building server) and
    9595      <xref linkend="openssl"/>
    9696    </para>
     
    9999    <para role="optional">
    100100      <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"/>,
    104103      <ulink url="http://www.openslp.org/">OpenSLP</ulink>,
    105104      <xref linkend="pth"/> and
     
    187186
    188187    <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>.
    191189    </para>
    192190
     
    223221
    224222    <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.
    228227    </para>
    229228
     
    397396
    398397    <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 script
    404         included in the <xref linkend="bootscripts"/> package
    405         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:
    406405      </para>
    407406
     
    415414        <para>
    416415          You'll need to modify the
    417           <filename>/etc/sysconfig/slapd</filename> to include the
     416          <filename>/etc/default/slapd</filename> to include the
    418417          parameters needed for your specific configuration. See the
    419418          <command>slapd</command> man page for parameter information.
     
    427426
    428427      <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>
    433432
    434433      <para>
  • server/other/other.xml

    rda4ed49 r1be4837c  
    2323  that you can analyze the risks.</para>
    2424
    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"/>
    2626<!--  <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"/>
    2828<!--  <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"/>
    3030
    3131</chapter>
  • server/other/unbound-systemd.xml

    rda4ed49 r1be4837c  
    155155
    156156    <para>
    157       <option>--with-libevent</option>: This option enables libevent support
     157      <option>--with-libevent</option>: This switch enables libevent support
    158158      allowing use of large outgoing port ranges.
    159159    </para>
    160160
    161161    <para>
    162       <option>--with-pyunbound</option>: This option enables building of the Python
     162      <option>--with-pyunbound</option>: This switch enables building of the Python
    163163      bindings.
    164164    </para>
     
    211211
    212212    <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>
    219221
    220222      <indexterm zone="unbound unbound-init">
  • server/other/xinetd-systemd.xml

    rda4ed49 r1be4837c  
    88  <!-- <!ENTITY xinetd-download-http "http://www.xinetd.org/xinetd-&xinetd-version;.tar.gz"> -->
    99  <!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">
    1111  <!ENTITY xinetd-md5sum        "77358478fd58efa6366accae99b8b04c">
    1212  <!ENTITY xinetd-size          "308 KB">
     
    7777    commands:</para>
    7878
    79 <screen><userinput>sed -i -e "s/exec_server/child_process/" xinetd/builtins.c       &amp;&amp;
     79<screen><userinput>sed -i -e "s/exec_server/child_process/" xinetd/builtins.c        &amp;&amp;
    8080sed -i -e "/register unsigned count/s/register//" xinetd/itox.c  &amp;&amp;
    8181./configure --prefix=/usr --mandir=/usr/share/man --with-loadavg &amp;&amp;
     
    397397
    398398    <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>
    404407
    405408      <indexterm zone="xinetd xinetd-init">
     
    410413
    411414      <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
    417421      appropriate services are started. If no services are enabled, the program
    418422      will not start without the <option>-stayalive</option> option.</para>
Note: See TracChangeset for help on using the changeset viewer.