Skip to content

Commit

Permalink
mirrors: Restart on failure only (#982)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ja5087 authored Jul 9, 2020
1 parent 164ae6a commit 3f82d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ocf_mirrors/templates/systemd/monitor.service.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ Environment="<%= env %>=<%= val %>"
<% end -%>
ExecStart=<%= @exec_start %>
RuntimeMaxSec=10
Restart=always
Restart=on-failure
RestartSec=5

0 comments on commit 3f82d9e

Please sign in to comment.