Hi Thomas,

On Tue, Nov 04, 2014 at 02:05:03PM -0500, Thomas Berry wrote:
> I am new to upstart and having quite a bit of trouble debugging a script
> that I am trying to write that will manage Nginx's New Relic Plugin.

> I believe the issue is that Upstart is tracking the wrong PID. When I start
> the process with `initctl start nginx-nr-agent` the process starts and a
> PID is assigned - for example 27131.

> Then when I check using ps aux, I see the PID for that process I just
> started has incremented by 3 - i.e. 27134.

> I have `expect daemon`, but from what I understand expect daemon only works
> if the process forks twice.

That's correct; upstart expects at most two forks for the process that it's
supervising.

> Any help on this problem would be greatly appreciated.

Perhaps you can send your work-in-progress job to the list for
consideration?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: Digital signature

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to