Update status.inc
This commit is contained in:
@@ -702,9 +702,8 @@ STATUS_NODE(){
|
|||||||
if [ "${srvc}" == "pihole-FTL" ]; then
|
if [ "${srvc}" == "pihole-FTL" ]; then
|
||||||
${SSHCMD} root@${nip} 'pihole -r' & >/dev/null 2>&1
|
${SSHCMD} root@${nip} 'pihole -r' & >/dev/null 2>&1
|
||||||
touch ${NM_TMPFOLDER}/${nip}~${srvc}.fix
|
touch ${NM_TMPFOLDER}/${nip}~${srvc}.fix
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${srvc}" == "proxlb" ]; then
|
elif [ "${srvc}" == "proxlb" ]; then
|
||||||
${SSHCMD} root@${nip} 'systemctl restart proxlb' & >/dev/null 2>&1
|
${SSHCMD} root@${nip} 'systemctl restart proxlb' & >/dev/null 2>&1
|
||||||
touch ${NM_TMPFOLDER}/${nip}~${srvc}.fix
|
touch ${NM_TMPFOLDER}/${nip}~${srvc}.fix
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user