15 lines
402 B
SYSTEMD
15 lines
402 B
SYSTEMD
|
[Unit]
|
||
|
Description=Simple DNS proxy with DoH, DoT, and DNSCrypt support
|
||
|
Documentation=https://github.com/AdguardTeam/dnsproxy#readme
|
||
|
After=network.target
|
||
|
Before=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||
|
DynamicUser=yes
|
||
|
ExecStart=/usr/bin/dnsproxy --config-path=/etc/dnsproxy/dnsproxy.yaml
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|