Ignore:
Timestamp:
09/18/2003 09:21:15 PM (18 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 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, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
5e19933
Parents:
a504f0a
Message:

updated instructions for fcron

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

File:
1 edited

Legend:

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

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