diff options
author | Bin Jin | 2023-05-31 17:12:54 +0800 |
---|---|---|
committer | Bin Jin | 2023-05-31 17:12:54 +0800 |
commit | 188d3d80128fe9e2f66d0e09c00b77d6a79bf75a (patch) | |
tree | 030ff1824fe8cc15252335e06dfb99fbd32d78cb /dnsproxy.service | |
parent | 584a1a40605b477e06ed2e7338303266980741a4 (diff) | |
download | aur-188d3d80128fe9e2f66d0e09c00b77d6a79bf75a.tar.gz |
initial commit (adguard-0.49.1)
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 |