Skip to content

Commit 3f82d9e

Browse files
authored
mirrors: Restart on failure only (#982)
* Remove start limits and restart parameters This has been very flaky and breaks a LOT of mirrors healthchecks. I'll have to look into how they interact later. * Mirrors restart on failure
1 parent 164ae6a commit 3f82d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ocf_mirrors/templates/systemd/monitor.service.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ Environment="<%= env %>=<%= val %>"
1111
<% end -%>
1212
ExecStart=<%= @exec_start %>
1313
RuntimeMaxSec=10
14-
Restart=always
14+
Restart=on-failure
1515
RestartSec=5

0 commit comments

Comments
 (0)