xnox | bwlang: there is upstart-monitor package/script which lets you monitor all events emitted. | 00:03 |
---|---|---|
xnox | bwlang: i think that will help. | 00:03 |
bwlang | xnox... hmm i iwas just poking around in the wrong place... so thanks for redirecting me - great timing ;) | 00:04 |
bwlang | xnox: hmm this script seems broken. upstart-monitor -n still seem to be trying to find gtk (which i do not have0 | 00:08 |
xnox | bwlang: there is an option to force non-gui mode. | 00:09 |
bwlang | yeah... the man page says -n | 00:09 |
bwlang | but it does not seem to work. | 00:09 |
xnox | bwlang: and in some releases it used to have a bug where it would still try to import python-gi / gtk-gir. | 00:09 |
bwlang | ah... i'll try to find an updated version | 00:10 |
xnox | bwlang: try later one, or just comment out the Gtk imports. | 00:10 |
bwlang | oh... it's just python - i'll try to munge it a bit; | 00:11 |
bwlang | it was a missing dependency on gir1.2-gtk-3.0 | 00:19 |
bwlang | xnox: hmm - i see the events but i don't see my echo... do i need to do something to get my script to be re-read? | 00:25 |
bwlang | xnox: did i do something dumb? https://gist.github.com/bwlang/e815f103ae0cbea1a7ba | 00:27 |
bwlang | rebooting now... | 00:28 |
bwlang | hmm - i get the echo on reboot, but i don't get it when i do eject -T... even though i do see the events using upstart-monitor | 00:32 |
bwlang | ah... s/added/changed/ doh... thanks xnox for pointing me in the right direction, and staying silent while i embarass myself | 00:37 |
xnox | bwlang: i get a whoops when browsing that. Can you copy&paste to e.g. paste.ubuntu.com ? | 00:56 |
xnox | bwlang: I'm just really busy, and periodically check irc =) i'm glad you sorted your job ;-) | 00:56 |
bwlang | xnox: thanks... sorry to bug you. | 00:56 |
bwlang | now i'm just sorting out the script conditions, upstart-monitor really helped me track this down. | 00:57 |
xnox | bwlang: no worries =) at least you stayed connect to irc for someone to come back to you... most people drop off rather quick =) | 00:57 |
=== JanC_ is now known as JanC | ||
=== JanC_ is now known as Guest69838 | ||
=== JanC__ is now known as JanC | ||
=== Md_ is now known as Md | ||
=== Md is now known as Guest60784 | ||
=== Guest60784 is now known as Md | ||
=== JanC__ is now known as JanC | ||
p3rsist | With upstart, how can I make a job B restart when job A is restarted? | 23:15 |
ion | stop on stopping A, start on started A | 23:16 |
p3rsist | yeah okey thanks :) | 23:21 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!