diff options
Diffstat (limited to 'dnsproxy.service')
-rw-r--r-- | dnsproxy.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dnsproxy.service b/dnsproxy.service new file mode 100644 index 000000000000..34860ff54250 --- /dev/null +++ b/dnsproxy.service @@ -0,0 +1,14 @@ +[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 |