LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   upstart process tracking (https://www.linuxquestions.org/questions/ubuntu-63/upstart-process-tracking-4175456474/)

sam42 04-02-2013 03:41 AM

upstart process tracking
 
Hi,

On Ubuntu, 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.

sam42 04-02-2013 03:50 AM

Ok, I have just re-posted in the "Servers" forum, since it's more Server related somehow. Not sure if I can delete this thread.

colucix 04-02-2013 07:27 AM

Please post your thread in only one forum. For future information, if you want to move an existing thread of yours to another forum, just report your own post and ask a moderator. This thread is being closed because it is a duplicate.

michaelk 04-02-2013 07:33 AM

Closed per above.


All times are GMT -5. The time now is 09:21 AM.