1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2025-01-05 01:27:40 +01:00

systemd: Add documentation to dnscrypt-proxy.socket (#411)

This commit is contained in:
Rosanna4 2018-04-28 21:29:16 +01:00 committed by Frank Denis
parent 7f999f59e1
commit dc7645665f

View File

@ -5,8 +5,14 @@ Before=nss-lookup.target
Wants=nss-lookup.target
[Socket]
## Listen on TCP socket.
ListenStream=127.0.0.1:53
## Listen on UDP socket.
ListenDatagram=127.0.0.1:53
## Below options are valid only for TCP socket.
## Applying them to UDP socket will result in error which can be ignored.
NoDelay=true
DeferAcceptSec=1