unbound: fix hotplug iface and ntp restarts
authorEric Luehrsen <redacted>
Sat, 18 Mar 2017 02:45:47 +0000 (22:45 -0400)
committerEric Luehrsen <redacted>
Sat, 18 Mar 2017 03:16:49 +0000 (23:16 -0400)
commitafa56a60023c1b3cb541e3c363a87baf84affd33
tree433a659faa85a0655350411bc523dbb251116b31
parent0fcdd8d84d493b9f5097f88bd8f8dbc5628d6f74
unbound: fix hotplug iface and ntp restarts

Unbound is configured to restart on hotplug/iface but this can result
in numerous restarts at boot. Unbound also has a restart for NTP.
This was observed to generate trouble and even with procd robustness
too many crashes might occur (rare). Unbound would not be running.

Give more care to /var/lib/unbound/root.key during restarts. Use procd
for iface restarts. Check pidof() to wait one more second for Unbound.

Signed-off-by: Eric Luehrsen <redacted>
net/unbound/Makefile
net/unbound/files/unbound.iface [deleted file]
net/unbound/files/unbound.init
net/unbound/files/unbound.sh
git clone https://git.99rst.org/PROJECT