2076a2f
[Unit]
2076a2f
Description=DNSCrypt-proxy client
2076a2f
Documentation=https://github.com/jedisct1/dnscrypt-proxy/wiki
2076a2f
2076a2f
Requires=dnscrypt-proxy.socket
2076a2f
2076a2f
After=network-online.target
2076a2f
Wants=network-online.target
2076a2f
2076a2f
Before=nss-lookup.target
2076a2f
Wants=nss-lookup.target
2076a2f
2076a2f
[Service]
2076a2f
NonBlocking=true
2076a2f
ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml
2076a2f
2076a2f
ProtectHome=yes
2076a2f
ProtectControlGroups=yes
2076a2f
ProtectKernelModules=yes
2076a2f
2076a2f
DynamicUser=yes
2076a2f
CacheDirectory=dnscrypt-proxy
2076a2f
LogsDirectory=dnscrypt-proxy
2076a2f
RuntimeDirectory=dnscrypt-proxy
2076a2f
2076a2f
[Install]
2076a2f
Also=dnscrypt-proxy.socket
2076a2f
WantedBy=multi-user.target