=== ion_ is now known as ion === h\h is now known as haraldh [22:11] is there a method to launch a script with upstart and have it all done before prompt or any-dm? [22:40] wfamy: you can make "any-dm" and the prompt wait for an event that you raise only after the script is done [22:42] ok but i have to emit a signel in my upstart script and patch the initial gdm kdm to start on script-signal. I do not found this very clean. [22:42] Before Sys V I just have to tell s19 for my script and S20 for the xdm [22:43] I was easy to install in a simple post nstall debian script in the package. Now I am very confused. [22:59] upstart is still pretty new, I guess in the future it will become easier to do such things [23:01] bar.conf: ‘start on starting foo’ → bar blocks the startup of foo, until bar is running (service) or done (task). [23:02] sure but is there any doc url explain how to do it? I am not able to migrate my customer's server from lenny debian to lucid because of that. [23:02] wfamy: syntax is in the section 5 manpage [23:17] I only found events doc http://linux.die.net/man/5/events but i do not found any help [23:19] man 5 init same thing [23:21] the simple test scrip use a yesno dialog box and it apear when shutdown the computer [23:22] The man page you linked is for an old version of Upstart [23:26] a end before EVENT [[KEY=]VALUE]... [and|or...] could be a nice feature. [23:41] you can do that now, just requires some editing of upstart .conf files -- IIRC the next version of upstart will make some things easier though [23:43] maybe some way to add conditions from a different file might be useful... [23:47] my .deb script have to edit /etc/init/after-script.conf and it is for my opignon a little dirty. If I modify gdm.conf i have to modify when remove my-script.deb [23:48] 2 days ago my server stop booting because of a drbd not launch before the postgres or other thing but i don't know [23:50] Ok thx for help I go to bed. see you i'll try to found a solution. [23:52] What’s after-script.conf? [23:54] here it could be gdm.conf [23:55] my-script.conf: start on starting gdm [23:55] I try it but it does not work because of dialog ?