1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 19:42:03 +01: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

@ -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 /opt/unbound/sbin/unbound-anchor -a /opt/unbound/etc/unbound/var/root.key
if [ ! -f /opt/unbound/etc/unbound/unbound_control.pem ]; then 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 fi
mkdir -p /opt/unbound/etc/unbound/zones mkdir -p /opt/unbound/etc/unbound/zones