]> granicus.if.org Git - fcron/commitdiff
added a small sleep of 0.5s between stop and start to be sure fcron is started correctly
authorthib <thib>
Sat, 14 Apr 2007 17:45:59 +0000 (17:45 +0000)
committerthib <thib>
Sat, 14 Apr 2007 17:45:59 +0000 (17:45 +0000)
script/fcron.init.suse
script/sysVinit-launcher

index e37b993bbdb73e6b59aefa0ed439ce18da330727..a493352dc2f41e93f5a4210717ecaae99731808b 100644 (file)
@@ -93,6 +93,7 @@ case "$1" in
                ;;
        restart)
                $0 stop
+               sleep 0.5
                $0 start
                rc_status
                ;;
index 363a1292597cafc97de948976dbd1733accd7312..d6378284f44fea5ba126311395bbcd401949439c 100755 (executable)
@@ -6,7 +6,7 @@
 # processname: fcron
 # pidfile: /var/run/fcron.pid
 # config: /var/spool/fcron/*
-# $Id: sysVinit-launcher,v 1.10 2006-01-11 00:54:44 thib Exp $
+# $Id: sysVinit-launcher,v 1.11 2007-04-14 17:45:59 thib Exp $
 
 export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
 
@@ -61,6 +61,7 @@ case "$1" in
        ;;
   restart)
        $0 stop
+       sleep 0.5
        $0 start
        RETVAL=$?
        ;;