[11:06] <IProteus> does upstart store the pid for the process it starts somewhere?
[11:07] <IProteus> 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] <dcorbin_wrk> will standard init.d scripts fire updstart events?
[11:44] <plautrba> IProteus: initctl status <job> or initctl list  show also pid if exists
[11:57] <IProteus> thanks 
[11:57] <IProteus> 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] <ion> PID=; eval "$(LC_ALL=C status | sed -nre 's/^.*, process ([0-9]+)$/PID=\1;/p')"; [ -n "$PID" ]
[12:01] <ion> The LC_ALL=C probably isn’t necessary.
[12:04] <IProteus> sweet, thank you very much.
[15:21] <SpamapS> dcorbin_wrk: no they won't without explicitly calling 'initctl emit' in their code
[18:10] <Keybuk> sometimes I think things would be easier if I just built udev into Upstart :-)