diff options
author | Warren Baker <warren@decoy.co.za> | 2014-11-21 21:10:07 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2014-11-21 21:24:20 +0200 |
commit | 0a5a8df9ebc75de4de229b9a8d23496c9c2877b5 (patch) | |
tree | c27c7b6d7beff6d9c4a3de670889850a57f4c946 /etc/inc/unbound.inc | |
parent | 5b506a493f4d5ac671df4828496073a680cb60e5 (diff) | |
download | pfsense-0a5a8df9ebc75de4de229b9a8d23496c9c2877b5.zip pfsense-0a5a8df9ebc75de4de229b9a8d23496c9c2877b5.tar.gz |
d DHCPLeases starting before Unbound/DNSMasq and returning a pid not found message. Add missing reload feature
Diffstat (limited to 'etc/inc/unbound.inc')
-rw-r--r-- | etc/inc/unbound.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc index eb62744..c7b0ce7 100644 --- a/etc/inc/unbound.inc +++ b/etc/inc/unbound.inc @@ -427,6 +427,9 @@ function do_as_unbound_user($cmd) { case "stop": mwexec("echo '/usr/local/sbin/unbound-control stop' | /usr/bin/su -m unbound", true); break; + case "reload": + mwexec("echo '/usr/local/sbin/unbound-control reload' | /usr/bin/su -m unbound", true); + break; case "unbound-anchor": mwexec("echo '/usr/local/sbin/unbound-anchor -a {$g['unbound_chroot_path']}/root.key' | /usr/bin/su -m unbound", true); break; |