Changeset 1258125 for server/mail


Ignore:
Timestamp:
06/11/2016 06:14:42 PM (8 years ago)
Author:
DJ Lucas <dj@…>
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
Message:

[Systemd merge] - Section V

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17481 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
server/mail
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • server/mail/dovecot.xml

    rbea508c r1258125  
    121121    </para>
    122122
    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                   \
    126126            --docdir=/usr/share/doc/dovecot-&dovecot-version; \
    127127            --disable-static &amp;&amp;
    128128make</userinput></screen>
    129129
     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 &amp;&amp;
     136make</userinput></screen>
     137
    130138    <para>To test the results, issue <command>make -k check</command>. One test
    131139    fails for unknown reason</para>
     
    144152    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    145153      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>
    146160
    147161    <para>
     
    244258
    245259    <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>
    253271
    254272      <indexterm zone="dovecot dovecot-init">
     
    256274      </indexterm>
    257275
    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>
    259279
    260280    </sect3>
  • server/mail/exim.xml

    rbea508c r1258125  
    301301
    302302    <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>
    307311      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>
    310313
    311314      <indexterm zone="exim exim-init">
     
    315318<screen role="root"><userinput>make install-exim</userinput></screen>
    316319
    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>&lt;time interval&gt;</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>&lt;time interval&gt;</replaceable></option>
    320324      parameter in <filename>/etc/rc.d/init.d/exim</filename>, if necessary
    321325      for your installation.</para>
  • server/mail/postfix.xml

    rbea508c r1258125  
    402402
    403403    <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>
    405406
    406407      <para>
    407408        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"/>
    410414        <xref linkend="systemd-units" revision="systemd"/> package.
    411415      </para>
  • server/mail/sendmail.xml

    rbea508c r1258125  
    261261
    262262    <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>
    264265
    265266      <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
    268272      <xref linkend="bootscripts" revision="sysv"/>
    269273      <xref linkend="systemd-units" revision="systemd"/> package.</para>
     
    278282        <para>The -qNm option to <command>sendmail</command>, where N is number
    279283        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>
    284289      </note>
    285290
Note: See TracChangeset for help on using the changeset viewer.