Skip to content
Snippets Groups Projects
Commit 8bc06acc authored by Star Brilliant's avatar Star Brilliant
Browse files

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.
parent 0263a32c
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment