Fixed NGINX/Named Status Sharing Issue

Closes 
This commit is contained in:
System Void 2016-02-25 02:42:21 +00:00
commit 8b18ca3c9d

View file

@ -116,9 +116,7 @@ fi
# DNS
service=$DNS_SYSTEM
if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
if [ "$service" == 'bind' ] || [ "$service" == 'bind9' ]; then
proc_name='named'
fi
proc_name='named'
get_srv_state $service $proc_name
str="$str\nNAME='$service' SYSTEM='dns server' STATE='$state' CPU='$cpu'"
str="$str MEM='$mem' RTIME='$rtime'"