ssm-services/init.d/unbound

12 lines
187 B
Plaintext
Executable File

#!/usr/bin/env ssm
#service_respawn='true'
service_command=( /usr/bin/unbound -d )
pre_reload() {
unbound-checkconf || {
printf 'Configtest failed, not reloading.\n'
return 1
}
}