diff options
Diffstat (limited to 'net/unbound/files/unbound.init')
-rwxr-xr-x | net/unbound/files/unbound.init | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/unbound/files/unbound.init b/net/unbound/files/unbound.init index 2f93b4d65..f12e6831c 100755 --- a/net/unbound/files/unbound.init +++ b/net/unbound/files/unbound.init @@ -17,14 +17,14 @@ PROG=/usr/sbin/unbound ############################################################################## boot() { - UNBOUND_BOOT=1 + UB_BOOT=1 start "$@" } ############################################################################## start_service() { - if [ -n "$UNBOUND_BOOT" ] ; then + if [ -n "$UB_BOOT" ] ; then # Load procd triggers (rc) and use event IFUP to really start return 0 fi @@ -35,7 +35,7 @@ start_service() { # standard procd clause procd_open_instance "unbound" - procd_set_param command $PROG -d -c $UNBOUND_CONFFILE + procd_set_param command $PROG -d -c $UB_TOTAL_CONF procd_set_param respawn procd_close_instance } @@ -44,7 +44,7 @@ start_service() { stop_service() { # clean up - . /usr/lib/unbound/unbound.sh + . /usr/lib/unbound/stopping.sh unbound_stop # Wait! on restart Unbound may take time writing closure stats to syslog |