fix
This commit is contained in:
parent
4c9dcc111b
commit
14d640ba84
@ -1 +1 @@
|
|||||||
0.0.6
|
0.0.7
|
||||||
@ -69,7 +69,6 @@ function check_it {
|
|||||||
if !(timeout 3 curl -s localhost:${AdminPort}/ping > /dev/null)
|
if !(timeout 3 curl -s localhost:${AdminPort}/ping > /dev/null)
|
||||||
then
|
then
|
||||||
echo "${Script} doesn't respond. restarting..."
|
echo "${Script} doesn't respond. restarting..."
|
||||||
start_app
|
|
||||||
pids=$(ps -ef | grep "port=${ServicePort}" | grep "root=${ServiceDir}" | grep -v grep | tr -s ' ' |cut -d' ' -f2)
|
pids=$(ps -ef | grep "port=${ServicePort}" | grep "root=${ServiceDir}" | grep -v grep | tr -s ' ' |cut -d' ' -f2)
|
||||||
echo pids=${pids}
|
echo pids=${pids}
|
||||||
if [ "${pids}" != "" ]
|
if [ "${pids}" != "" ]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user