1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-26 10:23:48 +01:00

Create certificates for unbound-control

This commit is contained in:
Frank Denis 2015-11-28 13:19:39 +01:00
parent fcf6cecef7
commit 850a1e68a6

@ -87,4 +87,8 @@ mkdir -p -m 700 /opt/unbound/etc/unbound/var && \
chown _unbound:_unbound /opt/unbound/etc/unbound/var && \ chown _unbound:_unbound /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
/opt/unbound/sbin/unbound-control-setup
fi
exec /opt/unbound/sbin/unbound exec /opt/unbound/sbin/unbound