> > Even simpler: you can easily obtain the PID by calling: supervisorctl pid > programname >
Thanks Gustavo! This is what I was after. I am in belief supervisor / systemd are taking over from more traditional, and sometimes problematic, PID files as more reliable service process management. > > >> On Fri, Feb 6, 2015 at 3:58 PM, Mikko Ohtamaa <[email protected]> >> wrote: >> >>> >>> As Andres suggested, you could guard the curl call in the check script >>>> with a condition for a pidfile existing. >>>> >>> >>> Thanks! >>> >>> Does supervisor provide functionality for pid file generation or do I >>> just do it inside my app? >>> >>> Cheers, >>> Mikko >>> >>> >>> _______________________________________________ >>> Supervisor-users mailing list >>> [email protected] >>> https://lists.supervisord.org/mailman/listinfo/supervisor-users >>> >>> >> >> >> This e-mail, including attachments, contains confidential and/or >> proprietary information, and may be used only by the person or entity to >> which it is addressed. The reader is hereby notified that any >> dissemination, distribution or copying of this e-mail is prohibited. If you >> have received this e-mail in error, please notify the sender by replying to >> this message and delete this e-mail immediately. >> >> _______________________________________________ >> Supervisor-users mailing list >> [email protected] >> 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 > > _______________________________________________ > Supervisor-users mailing list > [email protected] > https://lists.supervisord.org/mailman/listinfo/supervisor-users > > -- Mikko Ohtamaa http://opensourcehacker.com http://twitter.com/moo9000
_______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
