mirror of https://github.com/k3s-io/k3s
Add a little extra delay between restart attempts
This extra delay prevents systemd from determining that the service is restarting "too quickly".pull/662/head
parent
61bdd8521c
commit
f9dd8dedc8
|
@ -527,6 +527,7 @@ LimitCORE=infinity
|
||||||
TasksMax=infinity
|
TasksMax=infinity
|
||||||
TimeoutStartSec=0
|
TimeoutStartSec=0
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -15,6 +15,7 @@ LimitCORE=infinity
|
||||||
TasksMax=infinity
|
TasksMax=infinity
|
||||||
TimeoutStartSec=0
|
TimeoutStartSec=0
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue