[UPDATE] - grumph ... boulette
This commit is contained in:
parent
ff1c26d7fb
commit
176c779dfd
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
network#ip.sh
|
||||
file#file-present.sh
|
||||
|
||||
part#part-space.sh
|
||||
process#process-present.sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user