0af77d3229
Build fails where golang is too old. If acceptable, i'm asking to not immediately submit to Factory. OBS-URL: https://build.opensuse.org/request/show/813333 OBS-URL: https://build.opensuse.org/package/show/server:dns/dnscrypt-proxy?expand=0&rev=22
24 lines
595 B
SYSTEMD
24 lines
595 B
SYSTEMD
[Unit]
|
|
Description=DNSCrypt-proxy socket
|
|
Documentation=https://github.com/DNSCrypt/dnscrypt-proxy/wiki/systemd
|
|
# with openSUSE changes
|
|
Before=nss-lookup.target
|
|
Wants=nss-lookup.target
|
|
|
|
[Socket]
|
|
# Choose this for dnscrypt-proxy as primary resolver
|
|
ListenStream=127.0.0.1:53
|
|
ListenDatagram=127.0.0.1:53
|
|
|
|
# Otherwise forward from your primary local name resolver to somewhere else:
|
|
#ListenStream=127.0.0.1:5353
|
|
#ListenDatagram=127.0.0.1:5353
|
|
|
|
# Probably not useful and can be overridden
|
|
# if only listening for udp (ListenDatagram)
|
|
NoDelay=true
|
|
DeferAcceptSec=1
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|