blob: f368c99cf5e28030631bc18c6eb0ea3170ce01b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
[Unit]
Description=DNSCrypt client proxy
Documentation=man:dnscrypt-proxy(8)
Requires=dnscrypt-proxy@%i.socket
After=network.target
Before=nss-lookup.target
[Install]
#Also=dnscrypt-proxy@%i.socket # caused: Failed to execute operation: Invalid argument while 'systemctl enable...'
WantedBy=multi-user.target
[Service]
Type=notify
NonBlocking=true
User=_dnscrypt-proxy
ExecStart=/usr/sbin/dnscrypt-proxy /etc/dnscrypt-proxy/dnscrypt-proxy%i.conf
Restart=always
#ProtectSystem=strict
#ProtectHome=true
#ProtectKernelModules=true
#ProtectKernelTunables=true
#ProtectControlGroups=true
#MemoryDenyWriteExecute=true
#RestrictRealtime=true
|