joern | stringoO: basically take a look at /etc/init/*.conf and roughly follow the existing scripts | 00:29 |
---|---|---|
joern | it really isn't that hard unless you get fancy | 00:29 |
joern | speaking of fancy: upstart seems to have the edge-triggered vs. level-triggered problem | 00:30 |
joern | with a script that has "start on (started foo and started bar)", the results are somewhat non-obvious and non-useful | 00:31 |
joern | for initial startup, everything works just fine | 00:31 |
joern | but if you stop foo, then start foo again, only one of the dependencies is met | 00:31 |
joern | the service will remain stopped, waiting for bar to be restarted | 00:32 |
joern | is there a good reason to be edge-triggered that i am missing - other than "noone sent a patch yet"? | 00:33 |
stringoO | joern: thanks so much for the help. I'm getting an error with my script - https://gist.github.com/73a0c15bb64028ca6906 - any ideas? | 00:55 |
stringoO | it works fine when I run it as user stringo0 | 00:55 |
stringoO | but if I do service murmur start I get this error: | 00:55 |
stringoO | start: Rejected send message, 1 matched rules; type="method_call", sender=":1.4" | 00:55 |
stringoO | the full thing is in the comments for the gist | 00:55 |
=== ion_ is now known as ion | ||
JanC | you 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!