fish_ | hi | 10:47 |
---|---|---|
fish_ | i've wrote a upstart job, pretty simple. with 'start on filesystem' and a script block creating some directories | 10:47 |
fish_ | but it doesn't get started. I already tried to run initctl emit filesystem but this seems not to start it either | 10:48 |
fish_ | uhm looks like its more or less the same job as the rsyslog job. and that job works (-> it get started when emitting 'filesystem' event) | 10:51 |
fish_ | looks like I can't start the job manually either.. according to strace it seems like it's stopping right after the first != 0 return code is found | 11:01 |
fish_ | ok fixed that issue and then fixed another issues and lerned about tasks vs services. now it's a task but another job depending on that task doesn't start | 11:23 |
JanC | fish_: http://upstart.ubuntu.com/cookbook/#debugging-a-script-which-appears-to-be-behaving-oddly | 14:41 |
JanC | all script sections are run with "/bin/sh -e", which indeed makes the shell exit after the first non-zero return code | 14:43 |
fish_ | JanC: thanks! | 15:01 |
=== fish is now known as fish_ | ||
notwaffles | I'm trying to put together an upstart job to run browsermob-proxy but the stop command doesn't seem to work, does anyone have any experience with this? | 16:11 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!