From: thib Date: Sat, 14 Apr 2007 17:45:59 +0000 (+0000) Subject: added a small sleep of 0.5s between stop and start to be sure fcron is started correctly X-Git-Tag: ver3_0_3-rc1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daa4e743454ea0ca3ca14c3387cbcc64414fb19f;p=fcron added a small sleep of 0.5s between stop and start to be sure fcron is started correctly --- diff --git a/script/fcron.init.suse b/script/fcron.init.suse index e37b993..a493352 100644 --- a/script/fcron.init.suse +++ b/script/fcron.init.suse @@ -93,6 +93,7 @@ case "$1" in ;; restart) $0 stop + sleep 0.5 $0 start rc_status ;; diff --git a/script/sysVinit-launcher b/script/sysVinit-launcher index 363a129..d637828 100755 --- a/script/sysVinit-launcher +++ b/script/sysVinit-launcher @@ -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=$? ;;