mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-10-23 06:32: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:
1 parent
0263a32c22
commit
8bc06acc6e
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user