[14:00] <dcorbin_work> When a upstart job is started, it emits a signal.  Is there signal emitted when a job is stopped?
[14:06] <pmjdebruijn> you can just do things l ike
[14:06] <pmjdebruijn> start on stopped jobname
[14:06] <pmjdebruijn> I don't know if that's technically a signal
[14:17] <dcorbin_work> so, I can have "start on foo" and "start on stopped "foo" if a particular daemon (bar) requires the foo to be running, and should always be running if foo is running.
[14:20] <pmjdebruijn> dcorbin_work: "and" requires both events
[14:20] <pmjdebruijn> start on foo or stopped foo
[14:21] <pmjdebruijn> oh wait
[14:21] <pmjdebruijn> don't you want
[14:21] <pmjdebruijn> start on started foo
[14:21] <pmjdebruijn> stop on stopped foo
[14:21]  * pmjdebruijn is just thinking out loud
[14:21]  * pmjdebruijn is no expert
[14:21] <pmjdebruijn> http://pastebin.com/9jYGdh8K
[14:21] <pmjdebruijn> anybody a clue, why this is messing with my startup?
[14:21] <pmjdebruijn> I basically want to make the rc process dependant on a homerolled task
[14:21] <pmjdebruijn> this task synchronized configuration from a central machine
[14:22] <pmjdebruijn> so the rc sysv daemons only get started when the configuration has already been synchronized
[15:22] <JanC> pmjdebruijn: there might be a problem with the homerolled task?
[16:02] <pmjdebruijn> unlikely
[16:02] <pmjdebruijn> though not impossible
[16:03] <pmjdebruijn> the homerolled task only operates at startup
[16:03] <pmjdebruijn> my problem is only at shutdown
[16:09] <JanC> pmjdebruijn: the rc job runs on every runlevel change, but your change probably prevents that
[16:10] <pmjdebruijn> yeah, that was my guess too, but I can't grasp why ...
[16:16] <JanC> pmjdebruijn: you can run your task before sysvinit-emulation without changing rc.conf BTW
[16:18] <pmjdebruijn> it does run
[16:18] <pmjdebruijn> oh
[16:18] <JanC> if you put "start on starting rc-sysinit" in your task
[16:18] <pmjdebruijn> huh?
[16:18] <pmjdebruijn> JanC: starting = before actual start...
[16:19] <pmjdebruijn> I guess I need to readup on that again
[16:20] <JanC> it's in the cookbook  ☺
[16:22] <JanC> http://upstart.ubuntu.com/cookbook/#run-a-job-before-another-job
[16:24] <pmjdebruijn> right
[16:24] <pmjdebruijn> my bad
[16:24] <pmjdebruijn> I'll try that on monday
[18:39] <dlibanori> hi guys, when desktop-session-start event is emitted?
[18:40] <dlibanori> I  installed X + nodm + matchbox, but upstart doens't trigger desktop-session-start, does anybody know why?
[18:51] <jhunt> dlibanori: it is the dm's responsibility to emit this event, so chances are that nodm isn't. Look at /etc/gdm/PreSession/Default for an example of how gdm does it.
[18:51] <dlibanori> jhunt: thanks!
[18:53] <twentylegend> Hello guys