]> git.pld-linux.org Git - packages/fcron.git/commitdiff
- s/fcron.pid/crond.pid for unification and allow replace with other crond
authorkolodko <kolodko@pld-linux.org>
Sun, 26 Dec 2004 19:19:31 +0000 (19:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- better description
- some options to generate file for systab

Changed files:
    fcron.init -> 1.5

fcron.init

index 80e074eb19760cca47d337818009a7eb5cbe2f20..ade54be0ff56daa83c56b6e567ba61ead193710c 100644 (file)
@@ -4,14 +4,12 @@
 #
 # chkconfig:   2345 40 60
 #
-# description: cron is a standard UNIX program that runs user-specified \
-#              programs at periodic scheduled times. hc-cron adds a number \
-#              of features to the basic UNIX cron, including better security \
-#              and more powerful configuration options.
+# description: Fcron is a periodical command scheduler which aims at replacing \
+#              Vixie Cron, so it implements most of its functionalities.
 #
 # processname: crond
 # config:      /etc/fcron.conf
-# pidfile:     /var/run/fcron.pid
+# pidfile:     /var/run/crond.pid
 
 
 # Source function library
@@ -28,7 +26,8 @@ case "$1" in
        if [ ! -f /var/lock/subsys/crond ]; then
                msg_starting fcron 
                [ -f /var/spool/cron/systab.orig ] && rm -rf /var/spool/cron/systab.orig
-               FIND=`find /etc/cron.d/ \( -type f ! -name '*~' ! -name \*\.rpmnew ! -name \*\.rpmsave \)`
+               FIND=`find /etc/cron.d/ \( -type f ! -name '*~' ! -name \*\.swp \
+                     ! -name \*\.rpmorig ! -name \*\.rpmnew ! -name \*\.rpmsave \)`
                        for FILE in $FIND; do
                                cat $FILE >>/var/spool/cron/systab.orig
                        done
This page took 0.15792 seconds and 4 git commands to generate.