Merge pull request #48 from nopejpg/master

Fixed init script to work with Chef properly.
Thanks.
This commit is contained in:
Jordi Sanfeliu 2014-05-20 18:34:13 +02:00
commit 730af39640
1 changed files with 7 additions and 1 deletions

View File

@ -77,7 +77,13 @@ case "$1" in
fi
;;
status)
if [ -f /var/lock/subsys/$PROG ] ; then
status $PROG
exit 0
else
status $PROG
exit 1
fi
;;
*)
echo $"Usage: $0 {start|stop|restart|condrestart|status}"