The local_unbound service will configure and bootstrap itself, but only

if a network connection is available.  This is not an issue when running
'service local_unbound setup' interactively, but can be on a diskless
system where local_unbound self-configures on every boot.  To address
this, add explicit dependencies on netwait and defaultroute.

Submitted by:	eugen
Approved by:	re (gjb)
This commit is contained in:
des 2018-10-18 18:33:44 +00:00
parent c45ccb9f71
commit 59fd2fb98e

View File

@ -4,7 +4,7 @@
#
# PROVIDE: local_unbound
# REQUIRE: FILESYSTEMS netif resolv
# REQUIRE: FILESYSTEMS defaultroute netwait resolv
# BEFORE: NETWORKING
# KEYWORD: shutdown