mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-10-23 19:32:33 +00:00
Add systemd units
This commit is contained in:
1 parent
c4a57edc7f
commit
3230cc0a0a
4 files changed
+49
-5
No files matched your search
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=DNS-over-HTTPS Client
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
ExecStart=/usr/local/bin/doh-client -addr :53 -upstream https://dns.google.com/resolve
|
||||
LimitNOFILE=1048576
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
Type=simple
|
||||
User=nobody
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user