2 Description=DNSCrypt-proxy client
3 Documentation=https://github.com/jedisct1/dnscrypt-proxy/wiki
4 Wants=network-online.target nss-lookup.target
5 Before=nss-lookup.target
8 AmbientCapabilities=CAP_NET_BIND_SERVICE
9 CacheDirectory=dnscrypt-proxy
10 CapabilityBoundingSet=CAP_NET_BIND_SERVICE
12 ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml
14 LogsDirectory=dnscrypt-proxy
15 MemoryDenyWriteExecute=true
19 ProtectControlGroups=yes
23 ProtectKernelModules=yes
24 ProtectKernelTunables=yes
26 RestrictAddressFamilies=AF_INET AF_INET6
27 RestrictNamespaces=true
29 RuntimeDirectory=dnscrypt-proxy
30 StateDirectory=dnscrypt-proxy
31 SystemCallArchitectures=native
32 SystemCallFilter=@system-service
35 WantedBy=multi-user.target