Files
dns-over-https/systemd/doh-client.service
2018-04-29 22:30:43 +08:00

20 lines
441 B
Desktop File

[Unit]
Description=DNS-over-HTTPS Client
Documentation=https://github.com/m13253/dns-over-https
After=network.target
Before=nss-lookup.target
Conflicts=systemd-resolved.service
Wants=nss-lookup.target
[Service]
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecStart=/usr/local/bin/doh-client -conf /etc/dns-over-https/doh-client.conf
LimitNOFILE=1048576
Restart=always
RestartSec=3
Type=simple
User=nobody
[Install]
WantedBy=multi-user.target