=== JanC_ is now known as JanC | ||
grahamc | Hi, I have made serviceB stop when I stop serviceA, but when I start serviceA, is there a way to automatically start serviceb? | 15:57 |
---|---|---|
grahamc | my serviceB has this start on line: start on filesystem and started serviceA | 15:59 |
lu_ | I'm trying to make a simple upstart script and test it on the command line, but it doesn't seem to work. I'm using these commands: | 17:41 |
lu_ | initctl emit x1 | 17:41 |
lu_ | x1 is the name of my file in /etc/init/x1.conf | 17:41 |
lu_ | my script is: http://pastebin.com/xRRPPRr5 | 17:42 |
lu_ | It's just a simple iptables script that I know works well for the commands on the command line. | 17:42 |
lu_ | But it doesn't work when I try to test it with initctl | 17:42 |
lu_ | Who are the fucking retards who made upstart? | 17:52 |
lu_ | I've got fucking question for them idiots!!!! | 17:52 |
grahamc | lu_ didn't wait around very long :| | 18:03 |
puhuri_ | I would actually like to hear the answer (maybe ignore last two lines) :-) | 18:30 |
puhuri_ | Is there somewhere pointer how to debug upstart scripts? | 18:30 |
=== puhuri_ is now known as puhuri | ||
puhuri | on Ubuntu 14.04 upstart usb_modeswitch gets killed but no trace about reason is in log files | 18:32 |
puhuri | and fails to restart or start | 18:33 |
=== slangase` is now known as slangasek | ||
cwillu_at_work | puhuri, not much to that job; if it's dying, it's probably due to the process itself | 19:15 |
cjenkin1 | I need to create an upstart job to fix a bug with my platform's system time / RTC. I have a script that will do the trick, but I need to know if, inside a script declaration, there is some way to avoid immediate exit on error | 19:46 |
cjenkin1 | Reading the RTC occasionally throws an error (device busy) which clears up on the second read, and I my code handles that, but I need the job to keep trying | 19:47 |
cwillu_at_work | cjenkin1, || true | 19:54 |
cjenkin1 | cwillu_at_work: Heh, didn't think of that. Clever. | 19:55 |
cjenkin1 | My bash-fu is lacking | 19:55 |
cwillu_at_work | well, sh-fu | 19:56 |
cwillu_at_work | bash-isms won't work in script tags unless you point sh at bash, and even then, bash will still be mostly acting like sh | 19:57 |
cjenkin1 | Gotcha, good to know | 20:12 |
CrazyTux[m] | Hey guys — starting to get frustrated, it seems the packaged tarballs are broken job.h:200: error: redefinition of typedef 'JobProcessData' | 20:57 |
=== slangase` is now known as slangasek |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!