ssm-services/init.d/unbound
2015-10-28 19:22:40 +03:00

19 lines
262 B
Plaintext
Executable File

#!/usr/bin/env watchman
#service_respawn='true'
service_command='/usr/bin/unbound'
service_args=( -d )
conftest() {
unbound-checkconf
}
reload() {
if conftest; then
watchman.reload
else
watchman.err "Configtest failed, not reloading."
return 1
fi
}