1
General Discussion / Re: restarting unbound by cron
« on: January 30, 2019, 09:23:45 pm »
Ok, we will investigate this, thank you!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
root@opnsense:~ # vi /usr/local/opnsense/service/conf/actions.d/actions_unbound_restart.conf
[restart]
command:/usr/local/sbin/pluginctl dns
parameters:
type:script
message:Restart Unbound DNS Service
description:Restart Unbound DNS Service
root@opnsense:~ # service configd restart
Stopping configd...done
Starting configd.
root@opnsense:~ # configctl unbound_restart restart
OK
Date Message
Jan 24 16:01:29 unbound: [67123:0] info: start of service (unbound 1.8.3).
root@opnsense:~ # /usr/local/etc/rc.restart_webgui
Starting web GUI...done.
Generating RRD graphs...done.