mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-03-30 03:10:24 +00:00
Move StartLimitIntervalSec=0 from [Service] to [Unit]
This solves the warning message: > systemd[1]: /usr/lib/systemd/system/doh-client.service:16: Unknown key 'StartLimitIntervalSec' in section [Service], ignoring.
This commit is contained in:
@@ -4,6 +4,7 @@ Documentation=https://github.com/m13253/dns-over-https
|
||||
After=network.target
|
||||
Before=nss-lookup.target
|
||||
Wants=nss-lookup.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
@@ -13,7 +14,6 @@ Restart=always
|
||||
RestartSec=1s
|
||||
RestartMaxDelaySec=76s
|
||||
RestartSteps=9
|
||||
StartLimitIntervalSec=0
|
||||
Type=simple
|
||||
DynamicUser=yes
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
Description=DNS-over-HTTPS Server
|
||||
Documentation=https://github.com/m13253/dns-over-https
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
@@ -11,7 +12,6 @@ Restart=always
|
||||
RestartSec=1s
|
||||
RestartMaxDelaySec=76s
|
||||
RestartSteps=9
|
||||
StartLimitIntervalSec=0
|
||||
Type=simple
|
||||
DynamicUser=yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user