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
1 changed files with 6 additions and 0 deletions

View File

@ -5,8 +5,14 @@ Before=nss-lookup.target
Wants=nss-lookup.target Wants=nss-lookup.target
[Socket] [Socket]
## Listen on TCP socket.
ListenStream=127.0.0.1:53 ListenStream=127.0.0.1:53
## Listen on UDP socket.
ListenDatagram=127.0.0.1:53 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 NoDelay=true
DeferAcceptSec=1 DeferAcceptSec=1