mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
unbound: fix bail on python glue chown (read-only error)
This commit is contained in:
parent
3edd472aaa
commit
5d62b395d1
@ -59,10 +59,10 @@ for FILE in $(find /usr/local/etc/unbound.opnsense.d -depth 1 -name '*.conf'); d
|
||||
cp ${FILE} /var/unbound/etc/
|
||||
done
|
||||
|
||||
# preload the blocklist cache so the dnsbl hook can properly diff on it
|
||||
cp /usr/local/etc/unbound.opnsense.d/dnsbl.conf /tmp/unbound_dnsbl.cache || true
|
||||
# XXX remove obsolete file, last used in 22.7
|
||||
rm -f /usr/local/etc/unbound.opnsense.d/dnsbl.conf
|
||||
|
||||
chown -R unbound:unbound /var/unbound
|
||||
chown -R unbound:unbound /var/unbound || true
|
||||
|
||||
/usr/local/sbin/unbound -c /var/unbound/unbound.conf
|
||||
/usr/local/opnsense/scripts/unbound/cache.sh load
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user