Changeset 96a04dff


Ignore:
Timestamp:
06/07/2016 04:30:16 AM (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:
e4d2b8d
Parents:
95381469
Message:

systemd merge - fcron

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/fcron.xml

    r95381469 r96a04dff  
    8787    <title>Installation of Fcron</title>
    8888
    89     <para id="fcron-syslog"><application>Fcron</application> uses the cron facility
    90     of <command>syslog</command> to log all messages. Since LFS
    91     does not set up this facility in <filename>/etc/syslog.conf</filename>, it
    92     needs to be done prior to installing <application>Fcron</application>. This
    93     command will append the necessary line to the current
    94     <filename>/etc/syslog.conf</filename> (perform as the
    95     <systemitem class='username'>root</systemitem> user):</para>
    96 
    97     <indexterm zone="fcron fcron-syslog">
     89    <para id="fcron-syslog" revision="sysv"><application>Fcron</application>
     90    uses the cron facility of <command>syslog</command> to log all messages.
     91    Since LFS does not set up this facility in
     92    <filename>/etc/syslog.conf</filename>, it needs to be done prior to
     93    installing <application>Fcron</application>. This command will append the
     94    necessary line to the current <filename>/etc/syslog.conf</filename>
     95    (perform as the <systemitem class='username'>root</systemitem> user):</para>
     96
     97    <indexterm zone="fcron fcron-syslog" revision="sysv">
    9898      <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary>
    9999    </indexterm>
    100100
    101 <screen role="root"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
     101<screen role="root" revision="sysv"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
    102102<literal># Begin fcron addition to /etc/syslog.conf
    103103
     
    107107EOF</userinput></screen>
    108108
    109     <para>The configuration file has been modified, so reloading the
    110     <command>sysklogd</command> daemon will activate the changes (again as the
    111     <systemitem class='username'>root</systemitem> user).</para>
    112 
    113 <screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>
     109    <para revision="sysv">The configuration file has been modified, so reloading
     110    the <command>sysklogd</command> daemon will activate the changes (again as
     111    the <systemitem class='username'>root</systemitem> user).</para>
     112
     113<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>
    114114
    115115    <para>For security reasons, an unprivileged user and group for
     
    218218      is installed, two PAM configuration files are installed in
    219219      <filename class='directory'>/etc/pam.d</filename>. Alternatively if
    220       <filename class='directory'>/etc/pam.d</filename> is not used, the installation
    221       will append two configuration sections to the existing
    222       <filename>/etc/pam.conf</filename> file. You should ensure the files match your
    223       preferences. Modify them as required to suit your needs.</para>
     220      <filename class='directory'>/etc/pam.d</filename> is not used, the
     221      installation will append two configuration sections to the existing
     222      <filename>/etc/pam.conf</filename> file. You should ensure the files match      your preferences. Modify them as required to suit your needs.</para>
    224223
    225224      <indexterm zone="fcron fcron-pam">
     
    234233
    235234    <sect3  id="fcron-init">
    236       <title>Boot Script</title>
    237 
    238       <para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
    239       init script from the <xref linkend="bootscripts" revision="sysv"/>
    240       <xref linkend="systemd-units" revision="systemd"/>
    241       package.</para>
     235      <title><phrase revision="sysv">Boot Script</phrase>
     236             <phrase revision="systemd">Systemd Unit</phrase></title>
     237
     238      <para revision="sysv">Install the
     239      <filename>/etc/rc.d/init.d/fcron</filename> init script from the
     240      <xref linkend="bootscripts"/> package.</para>
     241
     242      <para revision="systemd">Enable <application>fcron</application> to start
     243      at boot using the previously installed systemd unit.</para>
    242244
    243245      <indexterm zone="fcron fcron-init">
     
    245247      </indexterm>
    246248
    247 <screen role="root"><userinput>make install-fcron</userinput></screen>
     249<screen role="root" revision="sysv"><userinput>make install-fcron</userinput></screen>
     250
     251<screen role="root" revision="systemd"><userinput>systemctl enable fcron</userinput></screen>
    248252
    249253    </sect3>
Note: See TracChangeset for help on using the changeset viewer.