init: pid of running process should be provided to side-along processes
Bug #556001 reported by
Trevor Turk
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Triaged
|
Wishlist
|
Unassigned | ||
upstart (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: upstart
This is a feature request. I would like to have access to the pid after starting a long running script that does not daemonize. If the pid was put into the env, that would be great.
Here's an example of what I'm doing now in order to get the pid, which is not so much fun:
# lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
# apt-cache policy upstart
upstart:
Installed: 0.6.3-11
To post a comment you must log in.
Agreed, it should be made available in those processes that run alongside. It probably makes sense to include it in the event as well, so you could do:
on started apache
script
.. $APACHE_PID ...
end script