/srv/irclogs.ubuntu.com/2011/12/20/#upstart.txt

joernstringoO: basically take a look at /etc/init/*.conf and roughly follow the existing scripts00:29
joernit really isn't that hard unless you get fancy00:29
joernspeaking of fancy: upstart seems to have the edge-triggered vs. level-triggered problem00:30
joernwith a script that has "start on (started foo and started bar)", the results are somewhat non-obvious and non-useful00:31
joernfor initial startup, everything works just fine00:31
joernbut if you stop foo, then start foo again, only one of the dependencies is met00:31
joernthe service will remain stopped, waiting for bar to be restarted00:32
joernis there a good reason to be edge-triggered that i am missing - other than "noone sent a patch yet"?00:33
stringoOjoern: thanks so much for the help. I'm getting an error with my script - https://gist.github.com/73a0c15bb64028ca6906 - any ideas? 00:55
stringoOit works fine when I run it as user stringo000:55
stringoObut if I do service murmur start I get this error:00:55
stringoOstart: Rejected send message, 1 matched rules; type="method_call", sender=":1.4"00:55
stringoOthe full thing is in the comments for the gist00:55
=== ion_ is now known as ion
JanCyou can't start system init jobs as a normal user... (uid=1000)17:24

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