ssm-services/services/unbound

12 lines
190 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env ssm
2015-08-13 16:41:27 +00:00
service_respawn=on-failure
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
}