Update services.inc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user