- LSB specifies try-restart, not condrestart. So I added it as an alias

to condrestart.

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

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

@ -74,13 +74,13 @@ case "$1" in
restart)
restart
;;
condrestart)
condrestart|try-restart)
if [ -f $pidfile ] ; then
restart
fi
;;
*)
echo $"Usage: $prog {start|stop|restart|condrestart|status|help}"
echo $"Usage: $prog {start|stop|restart|condrestart|try-restart|status|help}"
exit 1
esac

Loading…
Cancel
Save