-
-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Milestone
Description
Is it possible to add a couple of variables for me so I can change the restart behaviour when a service crashes? In my case, it's a modem dialer script which just exits when connection drops.
e.g. I want to attempt to restart 20 times at 10 seconds between each try, THEN 30 seconds between each try forever.
I was thinking to solve it maybe we could add two variables: restart_early_tries and restart_early_sec which allows fine tuning of the behaviour (by default I think it's restart_early_tries:5 restart_early_sec:2 according to the docs).
So that way I could specify the following on a service
restart_early_tries:20 restart_early_sec:10 restart_sec:30 restart:always
Metadata
Metadata
Assignees
Labels
No labels