/srv/irclogs.ubuntu.com/2008/11/19/#upstart.txt

=== juergbi_ is now known as juergbi
keesjHi ppl09:13
keesjI am STILL at 0.3.8 and hava a question about starting jobs09:20
keesjwhen I run "start my_job_name" the system doesn't return ,(I need to use --no-wait as extra parameter)09:20
keesjwhat does that mean?09:20
keesjmy test file looks like this http://paste-it.net/public/cd60791/09:29
suihkulokkikeesj: start --no-wait10:15
keesjsuihkulokki: yes, but that doesn't work for me because my service is started when and other service is started10:31
keesjso "start on starting myother_test" 10:31
Keybukkeesj: it won't return because you never stopped it13:10
Keybukyou probably want "service" in there13:10
keesjmy file is called service_xxx :P 15:21
keesjwhat is service?15:21
keesjKeybuk: It works!!15:30
keesjgreat!!15:30
keesjKeybuk saved the day15:31
Keybukjobs come in two types, "task" and "service"15:32
Keybuka task has to complete before it is "finished"15:32
Keybuka service merely has to be running15:32
Keybuktherefore the start command waits for a task to start, run and then stop again15:32
Keybukwhereas it only waits for a service to start and run15:32
Keybukin 0.3.x, the default for a job was a task15:32
Keybukso since you had no main exec/script, it ran until you issued a separate "stop" command15:33
keesjit all gets messy when you start using emits in upstart scripts15:40
keesjbut so far it all works :P15:40
=== notting__ is now known as notting
sadmac2Keybuk: good afternoon19:37

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