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