Red Hat Bugzilla – Bug 989443
Would be nice to have an ENV var pointing to app's pid file
Last modified: 2016-11-30 19:27:42 EST
Description of problem:
nodejs-0.6 has the following ENV variable:
It would be nice if all the cartridges had something like OPENSHIFT_APP_PROCESS_PID pointing to the pid file of the app.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
What if there are more than one processes running in one cartridge? Typically more than one Apache service?
Also for the Zend server for example, there are many services running in parallel so it is not clear to me what PID will should OPENSHIFT_ZEND_PID for example advertise.
Not actual any more. I have found a way to find app's pid without the ENV variable. It was needed for testcases that check the hot_deploy functionality