[UPDATE] - TP 05 - '#'

This commit is contained in:
Prof Isen 2022-05-02 23:16:19 +02:00
parent 5718426164
commit 19accb4c0e

View File

@ -32,7 +32,8 @@ case "$1" in
status)
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"
;;