Changeset 608cda6


Ignore:
Timestamp:
07/20/2014 02:56:02 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
2b27f103
Parents:
3452097f
Message:

Merge more systemd integration from Christopher.

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

Location:
server
Files:
3 edited
8 moved

Legend:

Unmodified
Added
Removed
  • server/databases/databases.xml

    r3452097f r608cda6  
    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

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

    r3452097f r608cda6  
    248248
    249249    <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>
    255258
    256259      <indexterm zone="postgresql postgresql-init">
  • server/mail/dovecot-systemd.xml

    r3452097f r608cda6  
    120120            --localstatedir=/var \
    121121            --docdir=/usr/share/doc/dovecot-&dovecot-version; \
    122             --disable-static &amp;&amp;
     122            --disable-static \
     123            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
    123124make</userinput></screen>
    124125
     
    138139    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    139140      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>
    140147
    141148    <para>
     
    238245
    239246    <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>
    246255
    247256      <indexterm zone="dovecot dovecot-init">
     
    249258      </indexterm>
    250259
    251 <screen role="root"><userinput>make install-dovecot</userinput></screen>
     260<screen role="root"><userinput>systemctl enable dovecot</userinput></screen>
    252261
    253262    </sect3>
  • server/mail/exim-systemd.xml

    r3452097f r608cda6  
    281281
    282282    <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>
    289291
    290292      <indexterm zone="exim exim-init">
     
    293295
    294296<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. Modify
    298       the <option>-q<replaceable>&lt;time interval&gt;</replaceable></option>
    299       parameter in <filename>/etc/rc.d/init.d/exim</filename>, if necessary
    300       for your installation.</para>
    301297
    302298    </sect3>
  • server/mail/mail.xml

    r3452097f r608cda6  
    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"/>
     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"/>
    2828  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sendmail.xml"/>
    2929
  • server/mail/postfix-systemd.xml

    r3452097f r608cda6  
    406406
    407407    <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:
    414415      </para>
    415416
  • server/other/openldap-systemd.xml

    r3452097f r608cda6  
    407407
    408408    <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 script
    414         included in the <xref linkend="bootscripts"/> package
    415         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:
    416416      </para>
    417417
     
    425425        <para>
    426426          You'll need to modify the
    427           <filename>/etc/sysconfig/slapd</filename> to include the
     427          <filename>/etc/default/slapd</filename> to include the
    428428          parameters needed for your specific configuration. See the
    429429          <command>slapd</command> man page for parameter information.
     
    437437
    438438      <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>
    443443
    444444      <para>
  • server/other/other.xml

    r3452097f r608cda6  
    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

    r3452097f r608cda6  
    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

    r3452097f r608cda6  
    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.