/srv/irclogs.ubuntu.com/2010/08/29/#upstart.txt

eivanovI 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
eivanovpre-start/post-stop are almost empty (just an echo to file). I want to add "initctl emit" to both.16:41
eivanovOops, I confused post-stop and pre-stop16:44
eivanovsorry16:44
eivanovI 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:21
eivanovstopped is generated, but not stopped failed. Why?17:23
=== Stevee_ is now known as Stevee
frederickjhWhen upstart jobs or sysvinit scripts run which runs them  su  or sudo?21:13
frederickjhI am dealing with a pam.d authenication  problem and am trying to assign the proper permissions to the correct one.21:14
JanC_frederickjh: upstart runs as root, so no su/sudo is needed?22:55
=== JanC_ is now known as JanC
frederickjhThanks 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.22:57
JanCyou can always use su or sudo yourself of course23:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!