1
1
Fork 0
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-05-18 16:36:08 +02:00

If unbound-control-setup fails, this is not the end of the world

This commit is contained in:
Frank Denis 2019-09-26 01:08:02 +02:00
parent 14b1b43345
commit 399f0a89de

View File

@ -94,7 +94,7 @@ mkdir -p -m 700 /opt/unbound/etc/unbound/var &&
/opt/unbound/sbin/unbound-anchor -a /opt/unbound/etc/unbound/var/root.key
if [ ! -f /opt/unbound/etc/unbound/unbound_control.pem ]; then
/opt/unbound/sbin/unbound-control-setup
/opt/unbound/sbin/unbound-control-setup 2>/dev/null ||:
fi
mkdir -p /opt/unbound/etc/unbound/zones