ssm-services/init.d/unbound

12 lines
187 B
Plaintext
Raw Normal View History

#!/usr/bin/env ssm
2015-08-13 16:41:27 +00:00
#service_respawn='true'
service_command=( /usr/bin/unbound -d )
2015-10-28 16:22:40 +00:00
pre_reload() {
unbound-checkconf || {
printf 'Configtest failed, not reloading.\n'
2015-10-28 16:22:40 +00:00
return 1
}
2015-10-28 16:22:40 +00:00
}