Update services.inc

This commit is contained in:
2025-03-13 18:41:20 -05:00
parent 676de59edc
commit 4352ee3df2

View File

@@ -41,7 +41,7 @@ SINGLE_SERVER_SERVICE_CHECK(){
# fi
for stc in "${!servicestocheck}"; do
if [ ! systemctl is-active --quiet ${stc} ]; then
if ! systemctl is-active --quiet ${stc}; then
[ "${stc}" = "pdnsadmin" ] && stc="pdnsadmin.service pdnsadmin.socket"
/bin/systemctl start ${stc} >/dev/null 2>&1
fi