changed master ip

This commit is contained in:
2023-10-19 14:50:54 -05:00
parent bc9abbee36
commit d7fde0c138
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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