2018-01-24 14:44:32 +01:00
|
|
|
[Unit]
|
|
|
|
Description=DNSCrypt client proxy
|
|
|
|
Documentation=man:dnscrypt-proxy(8)
|
|
|
|
Requires=dnscrypt-proxy.socket
|
|
|
|
After=network.target
|
|
|
|
Before=nss-lookup.target
|
2018-02-02 15:51:38 +01:00
|
|
|
Wants=nss-lookup.target
|
2018-01-24 14:44:32 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
Also=dnscrypt-proxy.socket
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
NonBlocking=true
|
2018-03-24 19:06:40 +01:00
|
|
|
ProtectHome=true
|
2018-01-24 14:44:32 +01:00
|
|
|
|
|
|
|
# Change this
|
|
|
|
ExecStart=/opt/dnscrypt-proxy/dnscrypt-proxy
|
2018-03-24 19:06:40 +01:00
|
|
|
|
|
|
|
# Run dnscrypt-proxy as unprivileged user with
|
|
|
|
# temporary assigned UID/GID. See man:systemd.exec
|
|
|
|
# for more info. Requires systemd 232+.
|
|
|
|
#DynamicUser=yes
|
|
|
|
#CacheDirectory=dnscrypt-proxy
|
|
|
|
#LogsDirectory=dnscrypt-proxy
|
|
|
|
#RuntimeDirectory=dnscrypt-proxy
|