Discussion:
[Supervisor-users] infinity run script even by error
Muhammad Hussein Fattahizadeh
2015-01-31 19:57:23 UTC
Permalink
I have script that use external resources can cause unexpected errors and
shutting down. but i need to ensure my script run even fatal and stop by
unexpected errors.
I need to have infinity start process even the process has error.
I find option `startretries` but seems doesn't any infinity value for this.
Any guide ?

Regards
Gustavo Carneiro
2015-01-31 20:02:30 UTC
Permalink
It's not possible. You should just set a very large number.

This was recently discussed here:

https://github.com/Supervisor/supervisor/pull/442

On 31 January 2015 at 19:57, Muhammad Hussein Fattahizadeh <
Post by Muhammad Hussein Fattahizadeh
I have script that use external resources can cause unexpected errors and
shutting down. but i need to ensure my script run even fatal and stop by
unexpected errors.
I need to have infinity start process even the process has error.
I find option `startretries` but seems doesn't any infinity value for this.
Any guide ?
Regards
_______________________________________________
Supervisor-users mailing list
https://lists.supervisord.org/mailman/listinfo/supervisor-users
--
Gustavo J. A. M. Carneiro
Gambit Research
"The universe is always one step beyond logic." -- Frank Herbert
Loading...