[16:41] <eivanov> I want a service without exec/script. I have pre-start, post-stop scripts and instance (similar to network-interface.conf). After I start this service it dies (status is stopped/waiting). What's wrong? 
[16:41] <eivanov> pre-start/post-stop are almost empty (just an echo to file). I want to add "initctl emit" to both.
[16:44] <eivanov> Oops, I confused post-stop and pre-stop
[16:44] <eivanov> sorry
[17:21] <eivanov> I have following job to control failures of another job: http://pastebin.com/d4p559M6  When I kill fake_apache (or it exists abnormally) it's respawned, but the log is empty... What's wrong?
[17:23] <eivanov> stopped is generated, but not stopped failed. Why?
[21:13] <frederickjh> When upstart jobs or sysvinit scripts run which runs them  su  or sudo?
[21:14] <frederickjh> I am dealing with a pam.d authenication  problem and am trying to assign the proper permissions to the correct one.
[22:55] <JanC_> frederickjh: upstart runs as root, so no su/sudo is needed?
[22:57] <frederickjh> Thanks I already figured that out, however pam.d is not letting my program start with real time priorities unless the user the daemon runs as start it.
[23:03] <JanC> you can always use su or sudo yourself of course