changed cronicle search to ip of master

This commit is contained in:
2023-10-19 04:47:11 -05:00
parent f9777dff82
commit bccb3297d2

View File

@@ -224,7 +224,7 @@ fi
# install cronicle worker
if [[ -f /opt/cronicle/conf/config.json ]]
then
isInFile=$(cat /opt/cronicle/conf/config.json | grep -c "notify.akanealw@gmail.com")
isInFile=$(cat /opt/cronicle/conf/config.json | grep -c "192.168.1.44")
if [ $isInFile -eq 0 ]
then
/opt/cronicle/bin/control.sh stop