1
1
Fork 0
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-03-29 07:09:53 +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

View File

@ -8,4 +8,7 @@ if [ ! -f "$KEYS_DIR/provider_name" ]; then
exit 1
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"