12 lines
190 B
Plaintext
Executable File
12 lines
190 B
Plaintext
Executable File
#!/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
|
|
}
|
|
}
|