Author: dj
Date: Mon Jun  6 21:30:16 2016
New Revision: 17455

Log:
systemd merge - fcron

Modified:
   trunk/BOOK/general/sysutils/fcron.xml

Modified: trunk/BOOK/general/sysutils/fcron.xml
==============================================================================
--- trunk/BOOK/general/sysutils/fcron.xml       Mon Jun  6 20:30:40 2016        
(r17454)
+++ trunk/BOOK/general/sysutils/fcron.xml       Mon Jun  6 21:30:16 2016        
(r17455)
@@ -86,19 +86,19 @@
   <sect2 role="installation">
     <title>Installation of Fcron</title>
 
-    <para id="fcron-syslog"><application>Fcron</application> uses the cron 
facility
-    of <command>syslog</command> to log all messages. Since LFS
-    does not set up this facility in <filename>/etc/syslog.conf</filename>, it
-    needs to be done prior to installing <application>Fcron</application>. This
-    command will append the necessary line to the current
-    <filename>/etc/syslog.conf</filename> (perform as the
-    <systemitem class='username'>root</systemitem> user):</para>
+    <para id="fcron-syslog" revision="sysv"><application>Fcron</application>
+    uses the cron facility of <command>syslog</command> to log all messages.
+    Since LFS does not set up this facility in
+    <filename>/etc/syslog.conf</filename>, it needs to be done prior to
+    installing <application>Fcron</application>. This command will append the
+    necessary line to the current <filename>/etc/syslog.conf</filename>
+    (perform as the <systemitem class='username'>root</systemitem> 
user):</para>
 
-    <indexterm zone="fcron fcron-syslog">
+    <indexterm zone="fcron fcron-syslog" revision="sysv">
       <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary>
     </indexterm>
 
-<screen role="root"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
+<screen role="root" revision="sysv"><userinput>cat &gt;&gt; /etc/syslog.conf 
&lt;&lt; "EOF"
 <literal># Begin fcron addition to /etc/syslog.conf
 
 cron.* -/var/log/cron.log
@@ -106,11 +106,11 @@
 # End fcron addition</literal>
 EOF</userinput></screen>
 
-    <para>The configuration file has been modified, so reloading the
-    <command>sysklogd</command> daemon will activate the changes (again as the
-    <systemitem class='username'>root</systemitem> user).</para>
+    <para revision="sysv">The configuration file has been modified, so 
reloading
+    the <command>sysklogd</command> daemon will activate the changes (again as
+    the <systemitem class='username'>root</systemitem> user).</para>
 
-<screen role="root"><userinput>/etc/rc.d/init.d/sysklogd 
reload</userinput></screen>
+<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/sysklogd 
reload</userinput></screen>
 
     <para>For security reasons, an unprivileged user and group for
     <application>Fcron</application> should be created (perform as the
@@ -217,10 +217,9 @@
       <para id="fcron-pam">If <application>Linux-PAM</application>
       is installed, two PAM configuration files are installed in
       <filename class='directory'>/etc/pam.d</filename>. Alternatively if
-      <filename class='directory'>/etc/pam.d</filename> is not used, the 
installation
-      will append two configuration sections to the existing
-      <filename>/etc/pam.conf</filename> file. You should ensure the files 
match your
-      preferences. Modify them as required to suit your needs.</para>
+      <filename class='directory'>/etc/pam.d</filename> is not used, the
+      installation will append two configuration sections to the existing
+      <filename>/etc/pam.conf</filename> file. You should ensure the files 
match      your preferences. Modify them as required to suit your needs.</para>
 
       <indexterm zone="fcron fcron-pam">
         <primary sortas="e-etc-pam.d">/etc/pam.d/*</primary>
@@ -233,18 +232,23 @@
     </sect3>
 
     <sect3  id="fcron-init">
-      <title>Boot Script</title>
+      <title><phrase revision="sysv">Boot Script</phrase>
+             <phrase revision="systemd">Systemd Unit</phrase></title>
+
+      <para revision="sysv">Install the
+      <filename>/etc/rc.d/init.d/fcron</filename> init script from the
+      <xref linkend="bootscripts"/> package.</para>
 
-      <para>Install the <filename>/etc/rc.d/init.d/fcron</filename>
-      init script from the <xref linkend="bootscripts" revision="sysv"/>
-      <xref linkend="systemd-units" revision="systemd"/>
-      package.</para>
+      <para revision="systemd">Enable <application>fcron</application> to start
+      at boot using the previously installed systemd unit.</para>
 
       <indexterm zone="fcron fcron-init">
         <primary sortas="f-fcron">fcron</primary>
       </indexterm>
 
-<screen role="root"><userinput>make install-fcron</userinput></screen>
+<screen role="root" revision="sysv"><userinput>make 
install-fcron</userinput></screen>
+
+<screen role="root" revision="systemd"><userinput>systemctl enable 
fcron</userinput></screen>
 
     </sect3>
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to