How can I configure supervisord to wait for a program to complete before restarting it?
When I call restart I want supervisord to start the program if it is not running. If it is running, I want to wait for the program execution to complete and then start the program.