[UPDATE] - TP 05 - '#'
This commit is contained in:
parent
5718426164
commit
19accb4c0e
@ -32,7 +32,8 @@ case "$1" in
|
|||||||
|
|
||||||
status)
|
status)
|
||||||
logger "status MoniThor server" "monithor-d" || true
|
logger "status MoniThor server" "monithor-d" || true
|
||||||
[ $(ps axf| grep /usr/local/bin/monithor-server|grep -v grep) ] && echo "monithor-d is running" || echo "montihor-d is dead"
|
[ "$(ps axf| grep '/usr/local/bin/monithor-server'|grep -v grep)" ] && echo "monithor-d is running" || echo "montihor-d is dead"
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user