Changeset 292bc8bf for general


Ignore:
Timestamp:
09/18/2003 09:21:15 PM (21 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
5e19933
Parents:
a504f0aa
Message:

updated instructions for fcron

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

Location:
general/sysutils/fcron
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/fcron/fcron-config.xml

    ra504f0aa r292bc8bf  
    22<title>Configuring fcron</title>
    33
    4 <sect3><title>make install script</title>
     4<sect3><title>Config files</title>
    55
    6 <para>After the files are installed, the make install script enters into a
    7 configuration routine.  The first test will be for a group named fcron.  If
    8 it does not exist, you will be given the command line that the script proposes
    9 to run and a prompt for a 'y' or 'n'.  This is repeated to create a user named
    10 fcron and to install a script in the init.d directory with the appropriate
    11 symbolic links in runlevels 2, 3, 4, and 5.  The final configuration step is to
    12 stop any current fcron processes and start the new fcron.  A yes here will stop
    13 current fcron processes and will start the new fcron.  The following
    14 commands will overwrite the fcron script with one based upon the BLFS
    15 template:</para>
     6<para><filename>/etc/fcron.conf</filename>,
     7<filename>/etc/fcron.allow</filename>,
     8<filename>/etc/fcron.deny</filename></para>
    169
    17 <para><screen><userinput>cat &gt; /etc/rc.d/init.d/fcron &lt;&lt; "EOF"</userinput>
     10</sect3>
     11
     12<sect3><title>Configuration Information</title>
     13
     14<para>There are no required changes in any of the config files.
     15Configuration information can be found in the man page for
     16<filename>fcron.conf</filename>.</para>
     17
     18<para>Fcron scripts are written using fcrontab. Refer to the man page
     19for fcrontab for proper parameters for your situation.</para>
     20
     21<para>Create the boot script with the following:</para>
     22
     23<screen><userinput><command>cat &gt; /etc/rc.d/init.d/fcron &lt;&lt; "EOF"
    1824#!/bin/sh
    1925# Begin $rc_base/init.d/fcron
     
    5359
    5460# End $rc_base/init.d/fcron
    55 <userinput>EOF
    56 chmod 755 /etc/rc.d/init.d/fcron &amp;&amp;
    57 mv /etc/rc.d/rc0.d/K60fcron /etc/rc.d/rc0.d/K08fcron &amp;&amp;
    58 mv /etc/rc.d/rc6.d/K60fcron /etc/rc.d/rc6.d/K08fcron</userinput></screen></para>
     61EOF
     62chmod 755 /etc/rc.d/init.d/fcron</command></userinput></screen>
     63
     64<para>Create the symbolic links to this file in the relevant
     65<filename class="directory">rc.d</filename> directory
     66with the following commands:</para>
     67
     68<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
     69ln -sf ../init.d/fcron ../rc0.d/K08fcron &amp;&amp;
     70ln -sf ../init.d/fcron ../rc2.d/S40fcron &amp;&amp;
     71ln -sf ../init.d/fcron ../rc3.d/S40fcron &amp;&amp;
     72ln -sf ../init.d/fcron ../rc4.d/S40fcron &amp;&amp;
     73ln -sf ../init.d/fcron ../rc5.d/S40fcron &amp;&amp;
     74ln -sf ../init.d/fcron ../rc6.d/K08fcron</command></userinput></screen>
     75
    5976</sect3>
    6077
    61 <sect3><title>Config files</title>
    62 
    63 <para><filename>/etc/fcron.conf</filename>,
    64 <filename>/etc/fcron.allow</filename>,
    65 <filename>/etc/fcron.deny</filename></para>
    66 
    67 <para>There are no required changes in any of these files.
    68 Configuration information can be found in the man page for
    69 <filename>fcron.conf</filename>.</para>
    70 
    71 <para>fcron scripts are written using fcrontab.  Refer to the man page
    72 for fcrontab for proper parameters for your situation.</para></sect3>
    73 
    7478</sect2>
    75 
  • general/sysutils/fcron/fcron-desc.xml

    ra504f0aa r292bc8bf  
    22<title>Contents</title>
    33
    4 <para>The fcron package contains <userinput>fcron, fcrontab,
    5 fcronsighup</userinput> and <userinput>fcrondyn.</userinput></para>
     4<para>The fcron package contains <command>fcron, fcrontab,
     5fcronsighup</command> and <command>fcrondyn.</command></para>
    66
    77</sect2>
     
    1010
    1111<sect3><title>fcron</title>
    12 <para>fcron is the scheduling daemon.
     12<para><command>fcron</command> is the scheduling daemon.
    1313</para></sect3>
    1414
    1515<sect3><title>fcrontab</title>
    16 <para>fcrontab is the program used to install, edit, list and remove the
    17 tables used by fcron.</para></sect3>
     16<para><command>fcrontab</command> is the program used to install, edit, list and remove the
     17tables used by <command>fcron</command>.</para></sect3>
    1818
    1919<sect3><title>fcronsighup</title>
    20 <para>fcronsighup instructs fcron to reread the fcron tables.
     20<para><command>fcronsighup</command> instructs <command>fcron</command> to reread the fcron tables.
    2121</para></sect3>
    2222
    2323<sect3><title>fcrondyn</title>
    24 <para>fcrondyn is a user tool intended to interact with a running fcron
     24<para><command>fcrondyn</command> is a user tool intended to interact with a running fcron
    2525daemon.</para></sect3>
    2626
    2727</sect2>
    28 
  • general/sysutils/fcron/fcron-exp.xml

    ra504f0aa r292bc8bf  
    22<title>Command explanations</title>
    33
    4 <para><userinput>--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;
    5 </userinput> : Can be added IF you have installed openjade and dsssl-stylesheets.</para>
     4<para><command>--without-sendmail</command> : Fcron does not require
     5sendmail to run, but will use it if it is installed to email you the
     6results of the fcron script. If you wish to utilize this feature change
     7the switch to <command>--with-sendmail=/usr/sbin</command>.</para>
    68
    7 <!--
    8 <para><userinput>make CC="gcc $CFLAGS":</userinput> This makes fcron
    9 compile using our CFLAGS for optimizations.</para>
    10 -->
     9<para><command>--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;
     10</command> : Can be added if you have installed openjade and
     11dsssl-stylesheets to generate the documentation from the DocBook source
     12files.</para>
     13
     14<para><command>yes 'n' | make install</command> : After the files are
     15installed, the make install script enters into a configuration routine.
     16The first test will be whether to install a boot script in the <filename
     17class="directory">/etc/rc.d/init.d</filename> directory with the
     18appropriate symbolic links in runlevels 2, 3, 4, and 5. The second is to
     19stop any current fcron processes and start a new one. Since this is
     20probably your first install and we want a boot script based upon the
     21<acronym>BLFS</acronym> template we answer 'n' to both tests.</para>
    1122
    1223</sect2>
    13 
  • general/sysutils/fcron/fcron-inst.xml

    ra504f0aa r292bc8bf  
    11<sect2>
    2 <title>Installation of fcron</title>
     2<title>Installation of <application>fcron</application></title>
    33
    4 <para>Fcron uses the cron facility of syslog to log all messages.  Since LFS
    5 does not set up this facility in <filename>/etc/syslog.conf</filename>, it needs to be done prior
    6 to installing fcron.  This command will append the necessary line to the
    7 current <filename>/etc/syslog.conf</filename>.</para>
     4<para><application>Fcron</application> uses the cron facility of syslog
     5to log all messages. Since <acronym>LFS</acronym> does not set up this
     6facility in <filename>/etc/syslog.conf</filename>, it needs to be done
     7prior to installing fcron. This command will append the necessary line
     8to the current <filename>/etc/syslog.conf</filename>.</para>
    89
    9 <para><screen><userinput>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"</userinput>
     10<screen><userinput><command>cat &gt;&gt; /etc/syslog.conf &lt;&lt; "EOF"
    1011# Begin fcron addition to /etc/syslog.conf
    1112
     
    1314
    1415# End fcron addition
    15 <userinput>EOF</userinput></screen></para>
     16EOF</command></userinput></screen>
    1617
    1718<para>The configuration file has been modified, so reloading the sysklogd
    1819daemon will activate the changes.</para>
    1920
    20 <para><screen><userinput>/etc/rc.d/init.d/sysklogd reload</userinput></screen></para>
     21<screen><userinput><command>/etc/rc.d/init.d/sysklogd reload</command></userinput></screen>
    2122
    22 <para>Install fcron by running the following commands:</para>
     23<para>For security reasons, we need to create an unpriviledged user and
     24group for <application>fcron</application>:</para>
    2325
    24 <para><screen><userinput>./configure &amp;&amp;
     26<screen><userinput><command>groupadd fcron &amp;&amp;
     27useradd -c fcron -g fcron fcron</command></userinput></screen>
     28
     29<para>Install <application>fcron</application> by running the following commands:</para>
     30
     31<screen><userinput><command>./configure --without-sendmail &amp;&amp;
    2532make &amp;&amp;
    26 make install</userinput></screen></para>
     33yes 'n' | make install</command></userinput></screen>
    2734
    2835</sect2>
    29 
    30 <sect2>
    31 
    32 <title>Install fcron without MTA </title>
    33 
    34 <para>Fcron does not require a mail transfer agent (MTA) to run, but will
    35 use one if it is installed to email you the results of the fcron script.  If
    36 you wish to install without a MTA, run the following commands:</para>
    37 
    38 <para><screen><userinput>./configure --without-sendmail &amp;&amp;
    39 make &amp;&amp;
    40 make install</userinput></screen></para>
    41 
    42 </sect2>
    43 
  • general/sysutils/fcron/fcron-intro.xml

    ra504f0aa r292bc8bf  
    11<sect2>
    2 <title>Introduction to fcron</title>
     2<title>Introduction to <application>fcron</application></title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&fcron-download-http;"/>
    5 Download location (FTP):        <ulink url="&fcron-download-ftp;"/>
    6 Version used:                   &fcron-version;
    7 Package size:                   &fcron-size;
    8 Estimated Disk space required:  &fcron-buildsize;</screen>
    9 
    10 <para>The fcron package contains the fcron daemon. &quot;It
     4<para>The <application>fcron</application> package contains the fcron daemon. &quot;It
    115is a periodical command scheduler which aims at replacing Vixie
    126Cron.&quot; </para>
    137
    14 <screen>fcron recommends:
    15 local mail system (<xref linkend="sendmail"/> or <xref linkend="postfix"/>, for example)
    16 fcron utilizes:
    17 <xref linkend="Linux_PAM"/>, <xref linkend="openjade"/> and <xref linkend="docbook-dsssl"/></screen>
     8<sect3><title>Package information</title>
     9<itemizedlist spacing='compact'>
     10<listitem><para>Download (HTTP): <ulink url="&fcron-download-http;"/></para></listitem>
     11<listitem><para>Download (FTP): <ulink url="&fcron-download-ftp;"/></para></listitem>
     12<listitem><para>Download size: &fcron-size;</para></listitem>
     13<listitem><para>Estimated Disk space required: &fcron-buildsize;</para></listitem>
     14<listitem><para>Estimated build time: &fcron-time;</para></listitem></itemizedlist>
     15</sect3>
     16
     17<sect3><title><application>fcron</application> dependencies</title>
     18<sect4><title>Optional</title>
     19<para><xref linkend="sendmail"/>, <xref linkend="Linux_PAM"/>, <xref
     20linkend="openjade"/> and <xref linkend="docbook-dsssl"/>
     21</para></sect4>
     22</sect3>
    1823
    1924</sect2>
  • general/sysutils/fcron/fcron.ent

    ra504f0aa r292bc8bf  
    55<!ENTITY fcron-desc SYSTEM "fcron-desc.xml">
    66<!ENTITY fcron-config SYSTEM "fcron-config.xml">
    7 <!ENTITY fcron-buildsize "2.7 MB">
     7<!ENTITY fcron-buildsize "3.3 MB">
    88<!ENTITY fcron-version "2.9.3">
    9 <!ENTITY fcron-download-http "http://fcron.free.fr/fcron-2.9.3.src.tar.gz">
    10 <!ENTITY fcron-download-ftp "ftp://ftp.seul.org/pub/fcron/fcron-2.9.3.src.tar.gz">
    11 <!ENTITY fcron-size "372 KB">
     9<!ENTITY fcron-download-http "http://fcron.free.fr/fcron-&fcron-version;.src.tar.gz">
     10<!ENTITY fcron-download-ftp "ftp://ftp.seul.org/pub/fcron/fcron-&fcron-version;.src.tar.gz">
     11<!ENTITY fcron-size "365 KB">
     12<!ENTITY fcron-time "0.11 SBU">
Note: See TracChangeset for help on using the changeset viewer.