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

File:
1 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>
Note: See TracChangeset for help on using the changeset viewer.