mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
unbound: replace with portable call
The MVC mutable controller looks for "is running" which is always given if enabled and running. If not enabled the control will not show and if not running it will say so.
This commit is contained in:
parent
179c6e4f37
commit
7b9b1a69ff
@ -109,7 +109,7 @@ message:Updating Unbound DNSBLs
|
||||
description:Update Unbound DNSBLs
|
||||
|
||||
[status]
|
||||
command:pgrep -q -nF /var/run/unbound.pid && echo "unbound is running" || echo "unbound is not running" ;exit 0
|
||||
command:/usr/local/sbin/pluginctl -s unbound status
|
||||
parameters:
|
||||
type:script_output
|
||||
message:request Unbound status
|
||||
message:Request Unbound status
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user