summarylogtreecommitdiffstats
path: root/dnscrypt-proxy.socket
diff options
context:
space:
mode:
authorJohn Fawkes2019-09-24 20:33:59 -0400
committerJohn Fawkes2019-09-24 20:33:59 -0400
commitfffe60bce9b9f4f34fcaaa77e3536a46cc6869ae (patch)
tree257d9646284a039df662cdf82f46971dcfc03d35 /dnscrypt-proxy.socket
parent9647c23bacb31d5eb04c3c4236b63d62ca61a78d (diff)
downloadaur-fffe60bce9b9f4f34fcaaa77e3536a46cc6869ae.tar.gz
update pkgbuild and add systemd files
Signed-off-by: John Fawkes <33303104+JohnFawkes@users.noreply.github.com>
Diffstat (limited to 'dnscrypt-proxy.socket')
-rw-r--r--dnscrypt-proxy.socket16
1 files changed, 16 insertions, 0 deletions
diff --git a/dnscrypt-proxy.socket b/dnscrypt-proxy.socket
new file mode 100644
index 000000000000..af3cebce111c
--- /dev/null
+++ b/dnscrypt-proxy.socket
@@ -0,0 +1,16 @@
+[Unit]
+Description=DNSCrypt-proxy socket
+Documentation=https://github.com/jedisct1/dnscrypt-proxy/wiki
+Before=nss-lookup.target
+Wants=nss-lookup.target network-online.target
+
+[Socket]
+ListenStream=127.0.0.1:53
+ListenDatagram=127.0.0.1:53
+ListenStream=[::1]:53
+ListenDatagram=[::1]:53
+NoDelay=true
+DeferAcceptSec=1
+
+[Install]
+WantedBy=sockets.target