Ensure that the keys directory is accessible from _encrypted-dns

lucenera-patch-1
Frank Denis 4 years ago
parent a246506150
commit 33080e9766

@ -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"

Loading…
Cancel
Save