From 900b23a97b01a0af567ade8c8f1e0317d45f879d Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 29 Oct 2019 09:17:20 +0100 Subject: [PATCH] unbound: add reload PR: https://github.com/opnsense/plugins/pull/1554 --- src/opnsense/service/conf/actions.d/actions_unbound.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/opnsense/service/conf/actions.d/actions_unbound.conf b/src/opnsense/service/conf/actions.d/actions_unbound.conf index feb73c2ea..76fbd5075 100644 --- a/src/opnsense/service/conf/actions.d/actions_unbound.conf +++ b/src/opnsense/service/conf/actions.d/actions_unbound.conf @@ -39,3 +39,9 @@ command:/usr/local/opnsense/scripts/unbound/cache.sh parameters:%s type:script message:cache %s + +[reload] +command:/usr/local/sbin/unbound-control -c /var/unbound/unbound.conf reload +parameters: +type:script +message:Reloading Unbound