Skip to content

Commit bdfde37

Browse files
committed
Merge 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.
1 parent 0263a32 commit bdfde37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

systemd/doh-client.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Documentation=https://github.com/m13253/dns-over-https
44
After=network.target
55
Before=nss-lookup.target
66
Wants=nss-lookup.target
7+
StartLimitIntervalSec=0
78

89
[Service]
910
AmbientCapabilities=CAP_NET_BIND_SERVICE
@@ -13,7 +14,6 @@ Restart=always
1314
RestartSec=1s
1415
RestartMaxDelaySec=76s
1516
RestartSteps=9
16-
StartLimitIntervalSec=0
1717
Type=simple
1818
DynamicUser=yes
1919

systemd/doh-server.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Description=DNS-over-HTTPS Server
33
Documentation=https://github.com/m13253/dns-over-https
44
After=network.target
5+
StartLimitIntervalSec=0
56

67
[Service]
78
AmbientCapabilities=CAP_NET_BIND_SERVICE
@@ -11,7 +12,6 @@ Restart=always
1112
RestartSec=1s
1213
RestartMaxDelaySec=76s
1314
RestartSteps=9
14-
StartLimitIntervalSec=0
1515
Type=simple
1616
DynamicUser=yes
1717

0 commit comments

Comments
 (0)