[UPDATE] - grumph ... boulette

This commit is contained in:
Prof Isen 2022-03-17 13:06:23 +01:00
parent ff1c26d7fb
commit 176c779dfd
3 changed files with 6 additions and 4 deletions

View File

@ -16,9 +16,10 @@ umask 022
case "$1" in
start)
if [ ! -z $(ps axf| grep monithor-client | grep -v grep) ]
if [ ! -z "$(ps axf| grep monithor-client | grep -v grep)" ]
then
logger "monithor-client is running ..."
exit
else
logger "Starting MoniThor Server"
/usr/local/bin/monithor-client start

View File

@ -16,9 +16,10 @@ umask 022
case "$1" in
start)
if [ ! -z $(ps axf| grep monithor-server | grep -v grep) ]
if [ ! -z "$(ps axf| grep monithor-server | grep -v grep)" ]
then
logger "monithor-server is running ..."
exit
else
logger "Starting MoniThor Server"
/usr/local/bin/monithor-server start

View File

@ -1,3 +1,3 @@
network#ip.sh
file#file-present.sh
part#part-space.sh
process#process-present.sh