diff options
Diffstat (limited to 'dnscrypt-multiple-resolvers/lib/systemd/system/dnscrypt-proxy@.service')
-rw-r--r-- | dnscrypt-multiple-resolvers/lib/systemd/system/dnscrypt-proxy@.service | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dnscrypt-multiple-resolvers/lib/systemd/system/dnscrypt-proxy@.service b/dnscrypt-multiple-resolvers/lib/systemd/system/dnscrypt-proxy@.service new file mode 100644 index 0000000..f368c99 --- /dev/null +++ b/dnscrypt-multiple-resolvers/lib/systemd/system/dnscrypt-proxy@.service @@ -0,0 +1,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 |