Skip to content

Commit f9dd8de

Browse files
cryptkChris Jowett
authored andcommitted
Add a little extra delay between restart attempts
This extra delay prevents systemd from determining that the service is restarting "too quickly".
1 parent 61bdd85 commit f9dd8de

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ LimitCORE=infinity
527527
TasksMax=infinity
528528
TimeoutStartSec=0
529529
Restart=always
530+
RestartSec=5s
530531
531532
[Install]
532533
WantedBy=multi-user.target

k3s.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ LimitCORE=infinity
1515
TasksMax=infinity
1616
TimeoutStartSec=0
1717
Restart=always
18+
RestartSec=5s
1819

1920
[Install]
2021
WantedBy=multi-user.target

0 commit comments

Comments
 (0)