Hi there!

I have an embeded system that uses s6 as init. S6 is awesome, easy to use
and works perfectly.

I got to a point where I need some *more control over how services are
restarted* if a crash occurred, for example:
- Configurable sleep time before service is restarted (configured per
service)
- This interval should grow in case of consecutive crashes
- After multiple crashes the watchdog must try to restart a crashed service
at least once every 24 hours
- Current "interval" and number of crashes should be accessible


I'm not sure how to implement this, do you have any suggestions?
Is there any mechanizm in s6/execline I could use?
Should I make a contribution to s6?

Thank you,
Jan Olszak

Reply via email to