1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 11:21:58 +01:00

Ensure that the keys directory is accessible from _encrypted-dns

This commit is contained in:
Frank Denis 2019-12-11 16:44:47 +01:00
parent a246506150
commit 33080e9766

@ -8,4 +8,7 @@ if [ ! -f "$KEYS_DIR/provider_name" ]; then
exit 1 exit 1
fi fi
chown -R _encrypted-dns:_encrypted-dns /opt/dnscrypt-wrapper/etc/keys 2>/dev/null || :
chown -R _encrypted-dns:_encrypted-dns /opt/encrypted-dns/etc/keys 2>/dev/null || :
exec /opt/encrypted-dns/sbin/encrypted-dns --config "$CONFIG_FILE" exec /opt/encrypted-dns/sbin/encrypted-dns --config "$CONFIG_FILE"