update init script
This commit is contained in:
parent
21c5d96e31
commit
f03fafae07
@ -83,12 +83,14 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
force-reload|restart)
|
force-reload|restart)
|
||||||
stop
|
stop
|
||||||
|
sleep 1
|
||||||
start
|
start
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
;;
|
;;
|
||||||
condrestart|try-restart)
|
condrestart|try-restart)
|
||||||
if [ -f $lockfile ]; then
|
if [ -f $lockfile ]; then
|
||||||
stop
|
stop
|
||||||
|
sleep 3
|
||||||
start
|
start
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user