This commit is contained in:
2023-09-11 17:29:00 -05:00
parent 13f8ab0e1d
commit 8f883b6430
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
VERS='4.12.7-09102023'
VERS='4.12.8-09112023'
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense '
CERT_DAEMON='/snap/bin/certbot'

View File

@@ -236,7 +236,7 @@ SERVICE(){
${PH_CMD} rm -f ${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}/test.repl
fi
fi
elif [ "${1}" = "pdns" ] && ([ "${3}" == "" ] || [ "${3}" == "all" ]); then
elif ([ "${1}" = "pdns" ] || [ "${1}" = "pdnsadmin" ]) && ([ "${3}" == "" ] || [ "${3}" == "all" ]); then
if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then
if [ "${3}" != "ns" ]; then
if [ "${3}" != "q" ]; then
@@ -257,7 +257,7 @@ SERVICE(){
done
fi
done
${PH_CMD} rm -f /etc/powerdns/test.repl
${PH_CMD} rm -f ${NM_REPL_CHECK_LOC[${1}]}/test.repl
fi
fi
fi