improved init scripts

This commit is contained in:
SJ 2015-04-28 09:57:32 +02:00
parent 0e3f2836fe
commit f06448f035
2 changed files with 8 additions and 4 deletions

View File

@ -45,8 +45,10 @@ case "$1" in
if check_status; if check_status;
then then
echo "${NAME} is running." echo "${NAME} is running."
exit 0
else else
echo "${NAME} is not running." echo "${NAME} is not running."
exit 1
fi fi
;; ;;

View File

@ -55,8 +55,10 @@ case "$1" in
if check_status; if check_status;
then then
echo "${NAME} is running." echo "${NAME} is running."
exit 0
else else
echo "${NAME} is not running." echo "${NAME} is not running."
exit 1
fi fi
;; ;;