update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERS='5.1.76-01152024'
|
||||
VERS='5.1.77-01162024'
|
||||
NM_BETA=false
|
||||
|
||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck '
|
||||
|
||||
@@ -384,7 +384,13 @@ SERVICE_MGMT(){
|
||||
fi
|
||||
fi
|
||||
else
|
||||
[ "${SERVICE['service']}" = "pdnsadmin" ] && srva="pdnsadmin.socket pdnsadmin.service" || srva=${SERVICE['service']}
|
||||
if [ "${SERVICE['service']}" = "pdnsadmin" ]; then
|
||||
srva="pdnsadmin.socket pdnsadmin.service"
|
||||
elif [ "${SERVICE['service']}" = "syncthing" ] && [[ "${NM_SERVICES_CHECK[${NTYPE}]}" = *"syncthing@pdns"* ]]; then
|
||||
srva="syncthing syncthing@pdns"
|
||||
else
|
||||
srva=${SERVICE['service']}
|
||||
fi
|
||||
if [ "${SERVICE['action']}" != "status" ]; then
|
||||
${NCMD} systemctl ${SERVICE['action']} ${srva} >/dev/null 2>&1
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user