/srv/irclogs.ubuntu.com/2014/08/25/#upstart.txt

=== JanC_ is now known as JanC
grahamcHi, I have made serviceB stop when I stop serviceA, but when I start serviceA, is there a way to automatically start serviceb?15:57
grahamcmy serviceB has this start on line: start on filesystem and started serviceA15: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 x117:41
lu_x1 is the name of my file in /etc/init/x1.conf17:41
lu_my script is: http://pastebin.com/xRRPPRr517: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 initctl17:42
lu_Who are the fucking retards who made upstart?17:52
lu_I've got fucking question for them idiots!!!!17:52
grahamclu_ 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
puhurion Ubuntu 14.04 upstart usb_modeswitch gets killed but no trace about reason is in log files18:32
puhuriand fails to restart or start18:33
=== slangase` is now known as slangasek
cwillu_at_workpuhuri, not much to that job; if it's dying, it's probably due to the process itself19:15
cjenkin1I 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 error19:46
cjenkin1Reading 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_workcjenkin1, || true19:54
cjenkin1cwillu_at_work: Heh, didn't think of that. Clever.19:55
cjenkin1My bash-fu is lacking19:55
cwillu_at_workwell, sh-fu19:56
cwillu_at_workbash-isms won't work in script tags unless you point sh at bash, and even then, bash will still be mostly acting like sh19:57
cjenkin1Gotcha, good to know20: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!