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


** Summary changed:

- Upstart should include pid as an environment variable
+ init: pid of running process should be provided to side-along processes

** Changed in: upstart (Ubuntu)
       Status: New => Invalid

** Also affects: upstart
   Importance: Undecided
       Status: New

** Changed in: upstart
       Status: New => Triaged

** Changed in: upstart
   Importance: Undecided => Wishlist

-- 
init: pid of running process should be provided to side-along processes
https://bugs.launchpad.net/bugs/556001
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to