=== Guest83859 is now known as Md | ||
dcorbin_work | When a upstart job is started, it emits a signal. Is there signal emitted when a job is stopped? | 14:00 |
---|---|---|
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:06 |
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:17 |
pmjdebruijn | dcorbin_work: "and" requires both events | 14:20 |
pmjdebruijn | start on foo or stopped foo | 14:20 |
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:21 |
pmjdebruijn | so the rc sysv daemons only get started when the configuration has already been synchronized | 14:22 |
JanC | pmjdebruijn: there might be a problem with the homerolled task? | 15:22 |
pmjdebruijn | unlikely | 16:02 |
pmjdebruijn | though not impossible | 16:02 |
pmjdebruijn | the homerolled task only operates at startup | 16:03 |
pmjdebruijn | my problem is only at shutdown | 16:03 |
JanC | pmjdebruijn: the rc job runs on every runlevel change, but your change probably prevents that | 16:09 |
pmjdebruijn | yeah, that was my guess too, but I can't grasp why ... | 16:10 |
JanC | pmjdebruijn: you can run your task before sysvinit-emulation without changing rc.conf BTW | 16:16 |
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:18 |
pmjdebruijn | I guess I need to readup on that again | 16:19 |
JanC | it's in the cookbook ☺ | 16:20 |
JanC | http://upstart.ubuntu.com/cookbook/#run-a-job-before-another-job | 16:22 |
pmjdebruijn | right | 16:24 |
pmjdebruijn | my bad | 16:24 |
pmjdebruijn | I'll try that on monday | 16:24 |
dlibanori | hi guys, when desktop-session-start event is emitted? | 18:39 |
dlibanori | I installed X + nodm + matchbox, but upstart doens't trigger desktop-session-start, does anybody know why? | 18:40 |
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:51 |
twentylegend | Hello guys | 18:53 |
=== dlibanori_ is now known as dlibanori |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!