Afaik infinite retries is not supported, but using a very high startretries (eg. 999999999999) gives you a decent amount of infinite... On Fri, 2 Dec 2016 at 16:10, Paul Fox <[email protected]> wrote:
> is there a way to get supervisor to attempt restarting a process > forever, at some low rate? > > i have some services that rely on USB hardware. when they start, they > detect the hardware and continue, else the exit. i'd like them retry > once in a while, forever, in case the hardware has been inserted. > > as far as i can tell from the man page, once "startretries" (which > undefined in the man page, but appears to be "4") have been attempted, > the process is never tried again. > > is my only recourse to run a cron job to do a "supervisorctl start jobname" > every minute or two? > > paul > =---------------------- > paul fox, [email protected] (arlington, ma, where it's 44.6 > degrees) > > _______________________________________________ > Supervisor-users mailing list > [email protected] > https://lists.supervisord.org/mailman/listinfo/supervisor-users >
_______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
