You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-dns/dnscrypt-proxy/files/config-full-paths-r10.patch

73 lines
2.4 KiB

--- dnscrypt-proxy-2.0.9/dnscrypt-proxy/example-dnscrypt-proxy.toml 2018-04-11 05:05:16.000000000 -0700
+++ dnscrypt-proxy-2.0.9/dnscrypt-proxy/dnscrypt-proxy.toml 2018-04-11 22:29:21.810501858 -0700
@@ -96,7 +96,7 @@
## log file for the application
-# log_file = 'dnscrypt-proxy.log'
+# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
## Use the system logger (syslog on Unix, Event Log on Windows)
@@ -254,7 +254,7 @@
## Path to the query log file (absolute, or relative to the same directory as the executable file)
- # file = 'query.log'
+ # file = '/var/log/dnscrypt-proxy/query.log'
## Query log format (currently supported: tsv and ltsv)
@@ -280,7 +280,7 @@
## Path to the query log file (absolute, or relative to the same directory as the executable file)
- # file = 'nx.log'
+ # file = '/var/log/dnscrypt-proxy/nx.log'
## Query log format (currently supported: tsv and ltsv)
@@ -315,7 +315,7 @@
## Optional path to a file logging blocked queries
- # log_file = 'blocked.log'
+ # log_file = '/var/log/dnscrypt-proxy/blocked.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -343,7 +343,7 @@
## Optional path to a file logging blocked queries
- # log_file = 'ip-blocked.log'
+ # log_file = '/var/log/dnscrypt-proxy/ip-blocked.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -371,7 +371,7 @@
## Optional path to a file logging whitelisted queries
- # log_file = 'whitelisted.log'
+ # log_file = '/var/log/dnscrypt-proxy/whitelisted.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -441,7 +441,7 @@
[sources.'public-resolvers']
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md']
- cache_file = 'public-resolvers.md'
+ cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
refresh_delay = 72
prefix = ''
@@ -451,7 +451,7 @@
# [sources.'parental-control']
# urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md']
- # cache_file = 'parental-control.md'
+ # cache_file = '/var/cache/dnscrypt-proxy/parental-control.md'
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'