summarylogtreecommitdiffstats
path: root/dnsproxy-adguard.service
diff options
context:
space:
mode:
Diffstat (limited to 'dnsproxy-adguard.service')
-rw-r--r--dnsproxy-adguard.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/dnsproxy-adguard.service b/dnsproxy-adguard.service
index 50f23dc1782b..2275aef85079 100644
--- a/dnsproxy-adguard.service
+++ b/dnsproxy-adguard.service
@@ -3,8 +3,10 @@ Description=Simple DNS proxy with DoH, DoT, and DNSCrypt support by AdguardTeam
After=network.target
[Service]
+Type=simple
+User=nobody
+Group=nobody
ExecStart=/usr/bin/dnsproxy-adguard -l 127.0.0.1 -p 5353 -u tls://8.8.8.8 -u tls://8.8.4.4 -u https://mozilla.cloudflare-dns.com/dns-query -u https://dns.adguard.com/dns-query -u tls://9.9.9.9 -u tls://dns.adguard.com --cache --all-servers
-Restart=always
[Install]
WantedBy=default.target