mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
parent
5e861eb78f
commit
8b18ca3c9d
1 changed files with 1 additions and 3 deletions
|
@ -116,9 +116,7 @@ fi
|
||||||
# DNS
|
# DNS
|
||||||
service=$DNS_SYSTEM
|
service=$DNS_SYSTEM
|
||||||
if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
|
if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
|
||||||
if [ "$service" == 'bind' ] || [ "$service" == 'bind9' ]; then
|
proc_name='named'
|
||||||
proc_name='named'
|
|
||||||
fi
|
|
||||||
get_srv_state $service $proc_name
|
get_srv_state $service $proc_name
|
||||||
str="$str\nNAME='$service' SYSTEM='dns server' STATE='$state' CPU='$cpu'"
|
str="$str\nNAME='$service' SYSTEM='dns server' STATE='$state' CPU='$cpu'"
|
||||||
str="$str MEM='$mem' RTIME='$rtime'"
|
str="$str MEM='$mem' RTIME='$rtime'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue