mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-22 15:32:01 +01:00
Ensure that the keys directory is accessible from _encrypted-dns
This commit is contained in:
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user