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