=== ion_ is now known as ion [11:06] does upstart store the pid for the process it starts somewhere? [11:07] my process does not create a pid file - but I do need the value and wonder if there is an easy way to get it from upstart instead of managing it in the process. [11:09] will standard init.d scripts fire updstart events? [11:44] IProteus: initctl status or initctl list show also pid if exists [11:57] thanks [11:57] I have a special program to stop the process, which I call in pre-stop and I need to pass the pid to this. so that means I should parse the output of those commands to get the pid and pass that in - or is there a way in upstart - some sort of pid variable that I could use in the conf file? [12:00] PID=; eval "$(LC_ALL=C status | sed -nre 's/^.*, process ([0-9]+)$/PID=\1;/p')"; [ -n "$PID" ] [12:01] The LC_ALL=C probably isn’t necessary. [12:04] sweet, thank you very much. [15:21] dcorbin_wrk: no they won't without explicitly calling 'initctl emit' in their code === TheHarald is now known as apachelogger [18:10] sometimes I think things would be easier if I just built udev into Upstart :-)