Skip to content

Commit 8b18ca3

Browse files
committed
Fixed NGINX/Named Status Sharing Issue
Closes hestiacp#636
1 parent 5e861eb commit 8b18ca3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/v-list-sys-services

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ fi
116116
# DNS
117117
service=$DNS_SYSTEM
118118
if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
119-
if [ "$service" == 'bind' ] || [ "$service" == 'bind9' ]; then
120-
proc_name='named'
121-
fi
119+
proc_name='named'
122120
get_srv_state $service $proc_name
123121
str="$str\nNAME='$service' SYSTEM='dns server' STATE='$state' CPU='$cpu'"
124122
str="$str MEM='$mem' RTIME='$rtime'"

0 commit comments

Comments
 (0)