From daa4e743454ea0ca3ca14c3387cbcc64414fb19f Mon Sep 17 00:00:00 2001 From: thib Date: Sat, 14 Apr 2007 17:45:59 +0000 Subject: [PATCH] added a small sleep of 0.5s between stop and start to be sure fcron is started correctly --- script/fcron.init.suse | 1 + script/sysVinit-launcher | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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=$? ;; -- 2.40.0