From 8f883b643069a340d4e99a84783ce8ee7fe61081 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Sep 2023 17:29:00 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- inc/services.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults.inc b/defaults.inc index 8f662c50..9a9d74a9 100755 --- a/defaults.inc +++ b/defaults.inc @@ -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' diff --git a/inc/services.inc b/inc/services.inc index 8d348659..f1adae4f 100755 --- a/inc/services.inc +++ b/inc/services.inc @@ -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