Skip to content
Snippets Groups Projects
Unverified Commit 5ebdfa5e authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

watchdog: Make unbound a conditional service

If unbound is not installed or is disabled, don't even examine it if
it's running.
parent 8341a9e1
No related branches found
No related tags found
No related merge requests found
......@@ -28,8 +28,8 @@
set -ex
# Configuration
COND_SERVICES="nethist lcollect"
SERVICES="ucollect unbound"
COND_SERVICES="nethist lcollect unbound"
SERVICES="ucollect"
for S in $COND_SERVICES ; do
if test -x "/etc/init.d/$S" && "/etc/init.d/$S" enabled ; then
SERVICES="$SERVICES $S"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment