upstart process tracking
Hi,
On Ubuntu (or Redhat, etc) , which process does an upstart job track?
Let me explain my question more.
Within an upstart config file, there can be "exec" lines and "script" lines. Perhaps there might be multiple instances of these? not sure. At the very least, within a "script" section there could be many lines of code, and each line of code would generate a PID. That PID may or may not be long lasting. In many cases, it would not be.
Put aside the issue of "expect fork" and "expect daemon", as I am not talking about forks or daemons.
Here is an attempt at answering my own question. Your feedback is welcome:
There is only one exec or script stanza permitted. The last PID is the one that's tracked.
Does that sounds right?
Thanks.
|