How to restart supervisord program after some interval?

Viewed 2944

Is it possible to configure supervisord to restart programs after specified time?

Let's say I have a CLI PHP script that can potentially hang and stop responding. Is it possible to restart all instances of this application after 2 hours? Otherwise there should be a situation when application is running, but it is hanged state (i.e. does not do any work and and does not respond to any signals).

1 Answers
Related