Hi,
I can get the pid from supervisor as follows:
echo `supervisorctl status git_service_server: | grep RUNNING | awk -F' ' '{print $4}' | sed -e 's/,$//' | paste -sd' '`
I have been having issues with my procmatch.
So given that I dont have a pid file or dont want to use procmatch how do I do something like this?
check process git_service
with pid "echo `supervisorctl status git_service_server: | grep RUNNING | awk -F' ' '{print $4}' | sed -e 's/,$//' | paste -sd' '`"
start program = "/usr/local/bin/supervisorctl start git_service_server:"
stop program = "/usr/local/bin/supervisorctl stop git_service_server:"