source: general/sysutils/fcron/fcron-config.xml@ 064db32a

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 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 064db32a was 064db32a, checked in by Larry Lawrence <larry@…>, 21 years ago

caught a few more tags

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

  • Property mode set to 100644
File size: 2.3 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 configuration step is to
12stop any current fcron processes and start the new fcron. A yes here will stop
13current fcron processes and will start the new fcron. The following
14commands will overwrite the fcron script with one based upon the BLFS
15template:</para>
16
17<para><screen><userinput>cat &gt; /etc/rc.d/init.d/fcron &lt;&lt; "EOF"</userinput>
18#!/bin/sh
19# Begin $rc_base/init.d/fcron
20
21# Based on sysklogd script from LFS-3.1 and earlier.
22# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
23
24source /etc/sysconfig/rc
25source $rc_functions
26
27case "$1" in
28 start)
29 echo "Starting fcron..."
30 loadproc fcron
31 ;;
32
33 stop)
34 echo "Stopping fcron..."
35 killproc fcron
36 ;;
37
38 restart)
39 $0 stop
40 sleep 1
41 $0 start
42 ;;
43
44 status)
45 statusproc fcron
46 ;;
47
48 *)
49 echo "Usage: $0 {start|stop|restart|status}"
50 exit 1
51 ;;
52esac
53
54# End $rc_base/init.d/fcron
55<userinput>EOF
56chmod 755 /etc/rc.d/init.d/fcron &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><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.
68Configuration 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
72for fcrontab for proper parameters for your situation.</para></sect3>
73
74</sect2>
75
Note: See TracBrowser for help on using the repository browser.