Update services.inc

This commit is contained in:
2025-06-12 19:48:56 -05:00
parent 64b6919f42
commit d31161a314

View File

@@ -12,11 +12,11 @@ SINGLE_SERVER_SERVICE_CHECK(){
[ "${2^^}" == "START" ] && rm -f ${NM_TMPFOLDER}/.singleserver.${1^^}.primary
echo yes
echo "Here: ${1^^}"
# rm -f ${NM_TMPFOLDER}/.singleserver*
if [ ! -f ${NM_TMPFOLDER}/.skip ] && ([[ "$(declare -p ${1^^}_SINGLESRVR_SERVICES)" =~ "declare -a" ]] || [[ "$(declare -p ${1^^}_SINGLESRVR_DOCKERS)" =~ "declare -a" ]] || [ "${1^^}" == "LPD" ]); then
echo yes
if [ "${1^^}" == "LPD" ]; then
dnstest=$(dig +short +tries=1 +time=1 www.google.com @127.0.0.1)
if [ "${dnstest}" == "" ]; then