mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-22 15:32:01 +01:00
Remove things we don't use any more in encrypted-dns.sh
This commit is contained in:
parent
6ef82579b6
commit
c9eb6dc3b3
@ -1,15 +1,11 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
LEGACY_KEYS_DIR="/opt/dnscrypt-wrapper/etc/keys"
|
||||
CONF_DIR="/opt/encrypted-dns/etc"
|
||||
KEYS_DIR="/opt/encrypted-dns/etc/keys"
|
||||
LISTS_DIR="/opt/encrypted-dns/etc/lists"
|
||||
BLACKLIST="${LISTS_DIR}/blacklist.txt"
|
||||
CONFIG_FILE="${CONF_DIR}/encrypted-dns.toml"
|
||||
|
||||
if [ ! -f "$KEYS_DIR/provider_name" ]; then
|
||||
exit 1
|
||||
fi
|
||||
provider_name=$(cat "$KEYS_DIR/provider_name")
|
||||
|
||||
exec /opt/encrypted-dns/sbin/encrypted-dns --config "$CONFIG_FILE"
|
||||
|
Loading…
Reference in New Issue
Block a user