diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/dnscrypt-proxy/dnscrypt-proxy.service | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/dnscrypt-proxy/dnscrypt-proxy.service')
-rw-r--r-- | community/dnscrypt-proxy/dnscrypt-proxy.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/dnscrypt-proxy/dnscrypt-proxy.service b/community/dnscrypt-proxy/dnscrypt-proxy.service new file mode 100644 index 000000000..5e30d888e --- /dev/null +++ b/community/dnscrypt-proxy/dnscrypt-proxy.service @@ -0,0 +1,20 @@ +[Unit] +Description=A tool for securing communications between a client and a DNS resolver. +After=network.target +# Only needed if you use pdnsd, other caching DNS servers can go here. Could be ignored too. +#Before=pdnsd.service + +[Service] +Type=forking +PIDFile=/var/run/dnscrypt-proxy.pid +EnvironmentFile=/etc/conf.d/dnscrypt-proxy +ExecStartPre=/bin/rm -f /var/run/dnscrypt-proxy.pid +ExecStart=/usr/bin/dnscrypt-proxy --daemonize \ + --pidfile=/var/run/dnscrypt-proxy.pid \ + --logfile=/var/log/dnscrypt-proxy.log \ + --local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \ + --user=${DNSCRYPT_USER} +Restart=on-abort + +[Install] +WantedBy=multi-user.target |