From 25eba7bb7ec22fb8eccef2bf47392c6959b80f2d Mon Sep 17 00:00:00 2001 From: Kyle K Date: Fri, 9 Jun 2017 01:18:50 -0500 Subject: dnscrypt multiple resolvers setup --- .../lib/systemd/system/dnscrypt-proxy@.service | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dnscrypt-multiple-resolvers/lib/systemd/system/dnscrypt-proxy@.service (limited to 'dnscrypt-multiple-resolvers/lib/systemd/system/dnscrypt-proxy@.service') 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 -- cgit v1.2.3