<div dir="ltr">Hello all,<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Then when I check using ps aux, I see the PID for that process I just started has incremented by 3 - i.e. 27134.</div><div><br></div><div>I have `expect daemon`, but from what I understand expect daemon only works if the process forks twice.</div><div><br></div><div>Any help on this problem would be greatly appreciated.</div><div><br></div><div>Thanks,</div><div><div><br></div>-- <br><div class="gmail_signature">Thomas Berry<br>Web: <a href="http://thomasberry.ca" target="_blank">thomasberry.ca</a><br>Twitter: <a href="http://twitter.com/thomasreidberry" target="_blank">twitter.com/thomasreidberry</a><br></div>
</div></div>