refactor #1
This commit is contained in:
parent
e6d275d910
commit
4cf26ff978
@ -1,8 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
WDIR="/mystic"
|
WDIR="/mystic"; cd $WDIR
|
||||||
|
|
||||||
cd $WDIR
|
|
||||||
|
|
||||||
F=$(ps -ef|grep "mis poll"|grep -v grep >/dev/null; [ $? -gt 0 ] && echo "NOT RUNNING" || echo "RUNNING")
|
F=$(ps -ef|grep "mis poll"|grep -v grep >/dev/null; [ $? -gt 0 ] && echo "NOT RUNNING" || echo "RUNNING")
|
||||||
M=$(pidof mutil; [ $? -gt 0 ] && echo "NOT RUNNING" || echo "RUNNING")
|
M=$(pidof mutil; [ $? -gt 0 ] && echo "NOT RUNNING" || echo "RUNNING")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user