mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-21 16:09:05 -07:00
Move from upstream's old personal URL to new GitHub organisation. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sam James (sam_c) <sam@cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/15559 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
22 lines
517 B
SYSTEMD
22 lines
517 B
SYSTEMD
[Unit]
|
|
Description=DNSCrypt-proxy socket
|
|
Documentation=https://github.com/DNSCrypt/dnscrypt-proxy/wiki
|
|
|
|
[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 warnings:
|
|
## TCP_NODELAY failed: Protocol not available
|
|
## TCP_DEFER_ACCEPT failed: Protocol not available
|
|
## Those can be safely ignored.
|
|
NoDelay=true
|
|
DeferAcceptSec=1
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|