Update services.inc
This commit is contained in:
@@ -401,6 +401,8 @@ SERVICE_MGMT(){
|
||||
if [ ${QUIET} -eq 0 ] && [ "${SERVICE['action']}" != "status" ]; then
|
||||
if [[ "enable,disable" = *"${SERVICE['action']}"* ]] || [ "${SERVICE['service']}" = "daemon-reload" ]; then
|
||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
||||
elif [[ "${srva}" = *"@pdns"* ]] && [ "$(${NCMD} systemctl is-active ${SERVICE['service']})" = "active" ]; then
|
||||
echo -e "${idsCL[Green]}Done (& @pdns)${idsCL[Default]}"
|
||||
elif [ "$(${NCMD} systemctl is-active ${SERVICE['service']})" = "active" ]; then
|
||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
||||
elif [ "${SERVICE['action']}" = "stop" ]; then
|
||||
|
||||
Reference in New Issue
Block a user