Ignore:
Timestamp:
09/22/2018 11:32:07 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
basic
Children:
4de7ca7
Parents:
acf7e2c
Message:

Convert internal like to external links for BLFS packages not in
the Basic book.

Reorder some chapters.

Merge System V and systemd sections so both are always displayed
with proper attribution for system type.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/fcron.xml

    racf7e2c r6397333  
    1414]>
    1515
    16 <sect1 id="fcron" xreflabel="Fcron-&fcron-version;">
     16<sect1 id="fcron" xreflabel="fcron-&fcron-version;">
    1717  <?dbhtml filename="fcron.html"?>
    1818
     
    5858      </listitem>
    5959    </itemizedlist>
    60 <!--
    61     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    62     <itemizedlist spacing="compact">
    63       <listitem>
    64         <para>
    65           Required patch:
    66           <ulink url="&patch-root;/fcron-&fcron-version;-sendmail_upstream-1.patch"/>
    67         </para>
    68       </listitem>
    69     </itemizedlist>
    70 -->
     60
    7161    <bridgehead renderas="sect3">Fcron Dependencies</bridgehead>
    72 <!--
     62
    7363    <bridgehead renderas="sect4">Optional</bridgehead>
    74     <para role="optional">An <xref linkend="server-mail"/>,
    75     <ulink url="../postlfs/editors.html">text editor</ulink> (default is
    76     <command>vi</command> from the <xref linkend="vim"/> package),
    77     <xref linkend="linux-pam"/>, and
    78     <xref linkend="docbook-utils"/>
     64    <para role="optional">
     65      A mail server such as <xref linkend="postfix"/>,
     66      A text editor
     67        (default is <command>vi</command> from the vim package),
     68      <ulink url="&blfs-book;/postlfs/linux-pam.html">linux-pam</ulink>, and
     69      <ulink url="&blfs-book;/postlfs/pst/docbook-utils.html">docbook-utils</ulink>
    7970    </para>
    80 -->
     71
    8172    <para condition="html" role="usernotes">User Notes:
    8273    <ulink url="&blfs-wiki;/fcron"/></para>
     
    8778    <title>Installation of Fcron</title>
    8879
    89     <para id="fcron-syslog" revision="sysv"><application>Fcron</application>
     80    <para id="fcron-syslog"> For System V versions of LFS,
     81    <application>fcron</application>
    9082    uses the cron facility of <command>syslog</command> to log all messages.
    9183    Since LFS does not set up this facility in
    9284    <filename>/etc/syslog.conf</filename>, it needs to be done prior to
    93     installing <application>Fcron</application>. This command will append the
     85    installing <application>fcron</application>. This command will append the
    9486    necessary line to the current <filename>/etc/syslog.conf</filename>
    9587    (perform as the <systemitem class='username'>root</systemitem> user):</para>
    9688
    97     <indexterm zone="fcron fcron-syslog" revision="sysv">
     89    <indexterm zone="fcron fcron-syslog">
    9890      <primary sortas="e-etc-syslog.conf">/etc/syslog.conf</primary>
    9991    </indexterm>
    10092
    101 <screen role="root" revision="sysv"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
     93<screen role="root"><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
    10294<literal># Begin fcron addition to /etc/syslog.conf
    10395
     
    10799EOF</userinput></screen>
    108100
    109     <para revision="sysv">The configuration file has been modified, so reloading
     101    <para>The configuration file has been modified, so reloading
    110102    the <command>sysklogd</command> daemon will activate the changes (again as
    111103    the <systemitem class='username'>root</systemitem> user).</para>
    112104
    113 <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>
     105<screen role="root"><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen>
    114106
    115107    <para>For security reasons, an unprivileged user and group for
    116     <application>Fcron</application> should be created (perform as the
     108    <application>fcron</application> should be created (perform as the
    117109    <systemitem class='username'>root</systemitem> user):</para>
    118110
     
    123115    commands:</para>
    124116
    125 <screen revision="sysv"><userinput>./configure --prefix=/usr          \
     117    <para>For System V based systems:</para>
     118
     119<screen><userinput>./configure --prefix=/usr          \
    126120            --sysconfdir=/etc      \
    127121            --localstatedir=/var   \
     
    131125make</userinput></screen>
    132126
    133 <screen revision="systemd"><userinput>./configure --prefix=/usr          \
     127    <para>For systemd based systems:</para>
     128
     129<screen><userinput>./configure --prefix=/usr          \
    134130            --sysconfdir=/etc      \
    135131            --localstatedir=/var   \
     
    150146  <sect2 role="commands">
    151147    <title>Command Explanations</title>
    152 <!--
    153     <para><command>autoconf</command>: This command is required to rebuild
    154     <filename>configure</filename> using the fixed input file.</para>-->
    155148
    156149    <para><parameter>--without-sendmail</parameter>: By default,
    157     <application>Fcron</application> will attempt to use the
    158     <command>sendmail</command> command from an <!--<xref linkend="server-mail"/>-->
     150    <application>fcron</application> will attempt to use the
     151    <command>sendmail</command> command from a mail server sucj as the
     152    <xref linkend="postfix"/>
    159153    package to email you the results of the <command>fcron</command> script.
    160154    This switch is used to disable default email notification. Omit the switch
     
    166160    installation of the bootscript included with the package.</para>
    167161
    168     <para revision="sysv"><parameter>--with-systemdsystemunitdir=no</parameter>:
     162    <para><parameter>--with-systemdsystemunitdir=no</parameter>:
    169163    This prevents building the <application>systemd</application> units, which
    170164    are not needed for a <application>SYS V</application> system.</para>
     
    173167    This switch allows you to set the default text editor.</para>
    174168
    175     <para><option>--with-dsssl-dir=<replaceable>&lt;/path/to/dsssl-stylesheets&gt;</replaceable></option>:
    176     May be used if you have <!--<xref linkend="docbook-utils"/>--> installed.
     169    <para>
     170      <option>--with-dsssl-dir=<replaceable>&lt;/path/to/dsssl-stylesheets&gt;</replaceable></option>:
     171    May be used if you have
     172    <ulink url="&blfs-book;/postlfs/pst/docbook-utils.html">docbook-utils</ulink>
     173    installed.
    177174    Currently, the dsssl stylesheets are located at
    178     <filename class="directory">/usr/share/sgml/docbook/dsssl-stylesheets-1.79</filename>.</para>
     175    <filename class="directory">/usr/share/sgml/docbook/dsssl-stylesheets-1.79</filename>.
     176    </para>
    179177
    180178  </sect2>
     
    234232
    235233    <sect3  id="fcron-init">
    236       <title><phrase revision="sysv">Boot Script</phrase>
    237              <phrase revision="systemd">Systemd Unit</phrase></title>
    238 
    239       <para revision="sysv">Install the
     234      <title>Boot Script or Systemd Unit</title>
     235
     236      <para>For System V bases systems, install the
    240237      <filename>/etc/rc.d/init.d/fcron</filename> init script from the
    241238      <xref linkend="bootscripts"/> package.</para>
    242239
    243       <para revision="systemd">Enable <application>fcron</application> to start
     240<screen role="root"><userinput>make install-fcron</userinput></screen>
     241
     242      <para>For systemd based systems, enable <application>fcron</application> to start
    244243      at boot using the previously installed systemd unit.</para>
    245244
     
    248247      </indexterm>
    249248
    250 <screen role="root" revision="sysv"><userinput>make install-fcron</userinput></screen>
    251 
    252 <screen role="root" revision="systemd"><userinput>systemctl enable fcron</userinput></screen>
     249<screen role="root"><userinput>systemctl enable fcron</userinput></screen>
    253250
    254251    </sect3>
Note: See TracChangeset for help on using the changeset viewer.