|
@@ -8,12 +8,14 @@ start_instance () {
|
8
|
8
|
config_get port "$section" 'port'
|
9
|
9
|
config_get resolver "$section" 'resolver'
|
10
|
10
|
config_get resolvers_list "$section" 'resolvers_list'
|
|
11
|
+ config_get_bool ephemeral_keys "$section" 'ephemeral_keys'
|
11
|
12
|
|
12
|
13
|
service_start /usr/sbin/dnscrypt-proxy -d \
|
13
|
14
|
-a ${address}:${port} \
|
14
|
15
|
-u nobody \
|
15
|
16
|
-L ${resolvers_list:-'/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv'} \
|
16
|
|
- -R ${resolver:-'opendns'}
|
|
17
|
+ -R ${resolver:-'opendns'} \
|
|
18
|
+ ${ephemeral_keys:+'-E'}
|
17
|
19
|
}
|
18
|
20
|
|
19
|
21
|
start() {
|