Skip to content

httpok: try to restart even in FATAL process state #120

@eoghanmurray

Description

@eoghanmurray

I'm wondering why httpok doesn't include an option to always try to restart even if the process is not in ProcessStates.RUNNING?
That would be my feature request for an option to add that (or to do it by default).
Do people use a different tool for that job?

My scenario is that a temporary configuration error meant that a key process couldn't start (startretries was 3, but as the config was incorrect for around a half hour — so I'd have had have set that quite high to cover the half hour)

As I've an hourly httpok running, my assumption was that this would have attempted to restart the process each hour, and (say) 10 hours later the system could be back working without intervention.

I want to see if I'm missing some approach before submitting a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions