[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