- Use restart function instead of always adding stop/start.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1597 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Peter Lemenkov 17 years ago
parent e089ed66b9
commit df6226adba

@ -54,7 +54,7 @@ stop() {
return $RETVAL
}
reload() {
restart() {
stop
start
}
@ -72,13 +72,11 @@ case "$1" in
RETVAL=$?
;;
restart)
stop
start
restart
;;
condrestart)
if [ -f $pidfile ] ; then
stop
start
restart
fi
;;
*)

Loading…
Cancel
Save