This commit is contained in:
2023-11-11 11:24:18 -06:00
parent 6d2fc754eb
commit a41d0ece6b
4 changed files with 38 additions and 76 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# VERS='4.12.120-11102023'
VERS='4.12.125-KYLEUPGRADEv2'
VERS='4.12.126-KYLEUPGRADEv3'
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update '
CERT_DAEMON='/snap/bin/certbot'
@@ -213,6 +213,15 @@ CERT-CHECK(){
fi
}
GET_AUTHELIA_IP(){
for NTYPE in "${NM_NODE_TYPES[@]}"; do
if [[ "${NM_DOCKERS_CHECK[${NTYPE}]}" == *"authelia"* ]]; then
echo ${NM_SINGLESRVR_IP[${NTYPE}]}
break
fi
done
}
SENDNOTICE(){
[ "${PUSHOVER_USER_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}