source: general/sysutils/fcron/fcron-config.xml@ f45b1953

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 initial-import 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 reorg systemd-11177 systemd-13485 trunk upgradedb v1_0 v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f45b1953 was f45b1953, checked in by Mark Hymers <markh@…>, 22 years ago

Initial revision

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

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<sect2>
2<title>Configuring fcron</title>
3
4<sect3><title>make install script</title>
5
6<para>After the files are installed, the make install script enters into a
7configuration routine. The first test will be for a group named fcron. If
8it does not exist, you will be given the command line that the script proposes
9to run and a prompt for a 'y' or 'n'. This is repeated to create a user named
10fcron and to install a script in the init.d directory with the appropriate
11symbolic links in runlevels 2, 3, 4, and 5. The final configuation step is to
12stop any current fcron processes and start the new fcron. A yes here will stop
13current fcron processes but will fail to start new fcron. The following
14commands will correct this:</para>
15
16<para><screen><userinput>cat &gt; /etc/rc.d/init.d/fcron &lt;&lt; "EOF"</userinput>
17#!/bin/sh
18# Begin $rc_base/init.d/fcron
19
20# Based on sysklogd script from LFS-3.1 and earlier.
21# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
22
23source /etc/sysconfig/rc
24source $rc_functions
25
26case "$1" in
27 start)
28 echo "Starting fcron..."
29 loadproc fcron
30 ;;
31
32 stop)
33 echo "Stopping fcron..."
34 killproc fcron
35 ;;
36
37 restart)
38 $0 stop
39 sleep 1
40 $0 start
41 ;;
42
43 status)
44 statusproc fcron
45 ;;
46
47 *)
48 echo "Usage: $0 {start|stop|restart|status}"
49 exit 1
50 ;;
51esac
52
53# End $rc_base/init.d/fcron
54<userinput>EOF
55chmod 755 /etc/rc.d/init.d/fcron &amp;&amp;
56/etc/rc.d/init.d/fcron start &amp;&amp;
57mv /etc/rc.d/rc0.d/K60fcron /etc/rc.d/rc0.d/K08fcron &amp;&amp;
58mv /etc/rc.d/rc6.d/K60fcron /etc/rc.d/rc6.d/K08fcron</userinput></screen></para>
59</sect3>
60
61<sect3><title>Config files</title>
62
63<para><userinput>/etc/fcron.conf, /etc/fcron.allow,
64/etc/fcron.deny</userinput></para>
65
66<para>There are no required changes in any of these files.
67Configuration information can be found in the man page for
68fcron.conf.</para>
69
70<para>fcron scripts are written using fcrontab. Refer to the man page
71for fcrontab for proper parameters for your situation.</para></sect3>
72
73</sect2>
74
Note: See TracBrowser for help on using the repository browser.