How to reload unbound using a script?

Started by Cubox, December 29, 2018, 10:00:38 PM

Previous topic - Next topic
Hi,

In a script I'm making for unbound, I would like to reload the daemon, to refresh it's configuration. Since service unbound onestatus tells me that unbound is not running, even when it is, how can I make it be reloaded/restarted without breaking opnsense?

Thanks