changed master ip
This commit is contained in:
@@ -113,7 +113,7 @@ fi
|
||||
# install cronicle worker
|
||||
if [[ -f /opt/cronicle/conf/config.json ]]
|
||||
then
|
||||
isInFile=$(cat /opt/cronicle/conf/config.json | grep -c "192.168.1.50")
|
||||
isInFile=$(cat /opt/cronicle/conf/config.json | grep -c "192.168.1.4")
|
||||
if [ $isInFile -eq 0 ]
|
||||
then
|
||||
/opt/cronicle/bin/control.sh stop
|
||||
|
||||
@@ -122,7 +122,7 @@ fi
|
||||
# install cronicle worker
|
||||
if [[ -f /opt/cronicle/conf/config.json ]]
|
||||
then
|
||||
isInFile=$(cat /opt/cronicle/conf/config.json | grep -c "192.168.1.50")
|
||||
isInFile=$(cat /opt/cronicle/conf/config.json | grep -c "192.168.1.4")
|
||||
if [ $isInFile -eq 0 ]
|
||||
then
|
||||
/opt/cronicle/bin/control.sh stop
|
||||
|
||||
Reference in New Issue
Block a user