rod wrote: > Afaik infinite retries is not supported, but using a very high startretries > (eg. 999999999999) gives you a decent amount of infinite...
oh -- startretries is something i can set in the conf file? i thought it was an internal parameter of some sort. where can i find a full list of the settable values? i would have expected it to be in the man page. the backoff sequence is also not specified -- will the delay interval eventually stop growing? thanks, paul > 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 > > =---------------------- paul fox, [email protected] (arlington, ma, where it's 45.0 degrees) _______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
