forked from Spark/ssm-services
11
services/unbound
Executable file
11
services/unbound
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user