mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-03-30 14:15:40 +00:00
This solves the warning message: > systemd[1]: /usr/lib/systemd/system/doh-client.service:16: Unknown key 'StartLimitIntervalSec' in section [Service], ignoring.
20 lines
424 B
Desktop File
20 lines
424 B
Desktop File
[Unit]
|
|
Description=DNS-over-HTTPS Server
|
|
Documentation=https://github.com/m13253/dns-over-https
|
|
After=network.target
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
ExecStart=/usr/local/bin/doh-server -conf /etc/dns-over-https/doh-server.conf
|
|
LimitNOFILE=1048576
|
|
Restart=always
|
|
RestartSec=1s
|
|
RestartMaxDelaySec=76s
|
|
RestartSteps=9
|
|
Type=simple
|
|
DynamicUser=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|