Hi, I'd like to perform a HTTP POST request to a process under supervisord control. If the HTTP POST times out, or returns bad response, the process is restarted by supervisord.
This would be like httpok superlance module, but with some more logic - enable HTTP POST and post payload. The easiest option I was thinking would be just run a arbitrary shell script command and based on the exit code of this script make the supervisord to restart the process. In my case the shell script would use curl + some logic to make the HTTP POST. However I did not found any examples of supervisord and shell script checks. Do supervisord have support for them? Any alternatives for my use case? -- Mikko Ohtamaa http://opensourcehacker.com http://twitter.com/moo9000
_______________________________________________ Supervisor-users mailing list Supervisor-users@lists.supervisord.org https://lists.supervisord.org/mailman/listinfo/supervisor-users