Skip to content

Commit

Permalink
unbound: Install auto-trust-anchor-file in /var/lib/unbound
Browse files Browse the repository at this point in the history
This matches Debian and Ubuntu.

It does not take any effect yet, as we configure the path in the
configuration file installed by mxtools.
  • Loading branch information
pmenzel committed May 28, 2021
1 parent 8ed314a commit c9508b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unbound.be0
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ mee_configure() {
--disable-static \
--enable-systemd \
--with-pidfile="/run/unbound.pid" \
--with-rootkey-file="/var/unbound/root.key"
--with-rootkey-file="/var/lib/unbound/root.key"
}

mee_build() {
Expand All @@ -75,9 +75,9 @@ mee_build() {
mee_install_post() {
start_cmd mv ${D}/etc/unbound/unbound.conf{,.sample}
start_cmd install -m 644 -D -t ${D}/lib/systemd/system ${B}/contrib/unbound.{service,socket}
start_cmd sed -i '/^ReadWritePaths=/ s,$, /var/unbound,' ${B}/contrib/unbound.service
start_cmd sed -i '/^ReadWritePaths=/ s,$, /var/lib/unbound,' ${B}/contrib/unbound.service

start_cmd install -o unbound -m 755 -d ${D}/var/unbound
start_cmd install -o unbound -m 755 -d ${D}/var/lib/unbound
}

###############################################################################
Expand Down

0 comments on commit c9508b7

Please sign in to comment.