/srv/irclogs.ubuntu.com/2010/07/23/#upstart.txt

=== ion_ is now known as ion
=== h\h is now known as haraldh
wfamyis there a method to launch a script with upstart and have it all done before prompt or any-dm?22:11
JanCwfamy: you can make "any-dm" and the prompt wait for an event that you raise only after the script is done22:40
wfamyok 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
wfamyBefore Sys V I just have to tell s19 for my script and S20 for the xdm22:42
wfamyI was easy to install in a simple post nstall debian script in the package. Now I am very confused.22:43
JanCupstart is still pretty new, I guess in the future it will become easier to do such things22:59
ionbar.conf: ‘start on starting foo’ → bar blocks the startup of foo, until bar is running (service) or done (task).23:01
wfamysure 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
JanCwfamy: syntax is in the section 5 manpage23:02
wfamyI only found events doc http://linux.die.net/man/5/events but i do not found any help23:17
wfamyman 5 init same thing23:19
wfamythe simple test scrip use a yesno dialog box  and it apear when shutdown the computer23:21
ionThe man page you linked is for an old version of Upstart23:22
wfamya end before EVENT [[KEY=]VALUE]... [and|or...] could be a nice feature.23:26
JanCyou can do that now, just requires some editing of upstart .conf files -- IIRC the next version of upstart will make some things easier though23:41
JanCmaybe some way to add conditions from a different file might be useful...23:43
wfamymy .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.deb23:47
wfamy2 days ago my server stop booting because of a drbd not launch before the postgres or other thing but i don't know23:48
wfamyOk thx for help I go to bed. see you i'll try to found a solution.23:50
ionWhat’s after-script.conf?23:52
wfamyhere it could be gdm.conf  23:54
ionmy-script.conf: start on starting gdm23:55
wfamyI try it but it does not work because of dialog ?23:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!