mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:40:12 +01:00
improved init scripts
This commit is contained in:
parent
0e3f2836fe
commit
f06448f035
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user