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:
Franco Fichtner 2023-03-15 09:14:39 +01:00
parent 179c6e4f37
commit 7b9b1a69ff

View File

@ -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