/srv/irclogs.ubuntu.com/2007/06/01/#upstart.txt

=== rgl [n=Rui@84.90.10.107] has joined #upstart
=== debugger [n=Rui@84.90.10.107] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== phlaegel [n=phlaegel@S01060016b619a773.ok.shawcable.net] has joined #upstart
=== dg [i=dgl@otherwize.co.uk] has joined #upstart
=== ribo [n=ribo@pfsense/mirrors/ribo] has joined #upstart
ribohow do I get a proper serial console with upstart?05:46
=== Keybuk [n=scott@quest.netsplit.com] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== rgl [n=Rui@84.90.10.107] has joined #upstart
=== rgl_ [n=Rui@84.90.10.107] has joined #upstart
=== jonibo [n=jonas@ua-83-227-144-18.cust.bredbandsbolaget.se] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== tale [n=tale@207.235.54.1] has joined #upstart
=== rgl [n=Rui@84.90.10.107] has joined #upstart
=== asdaf [n=Ack@213-140-11-128.fastres.net] has joined #upstart
=== mbiebl [n=michael@e180071069.adsl.alicedsl.de] has joined #upstart
asdafHi all04:03
Keybukhi04:05
=== reppel [n=reppel@213-140-11-128.fastres.net] has joined #upstart
reppelHi, is it possible to define something i call "systemup" which should be emited when two jobs are finished?04:09
reppelfor instance "networking and fs"04:10
Keybukwithin upstart?  not directly04:12
Keybukyou can obviously run "initctl emit systemup"04:12
reppelyes but how do i know when both net and fs jobs have finished?04:13
Keybukthat's being worked on at the moment04:13
reppelah ok thank you04:13
AlexExtremehmm that profile syntax looks better ;)04:33
=== juergbi [n=juerg@80-219-16-162.dclient.hispeed.ch] has joined #upstart
Keybukheh04:59
Keybukthe primary advantage would be you can parse it with one function call and a table :)04:59
Keybukand then we could have /etc/init.conf05:00
Keybuk  profile foo05:00
Keybuk    enable *05:00
Keybuk    disable bar05:00
Keybuk  end profile05:00
Keybuk  job bar05:00
Keybuk    ..05:00
Keybuk  end job05:00
Keybukif we wanted05:00
AlexExtremeyeah05:00
AlexExtremei knew nothing about nih/config ;)05:00
=== AndyP_ [n=andyp@cpc3-cwma2-0-0-cust15.swan.cable.ntl.com] has joined #upstart
=== rgl [n=Rui@84.90.10.107] has joined #upstart
=== dg [i=dgl@otherwize.co.uk] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== juergbi [n=juerg@80-219-16-162.dclient.hispeed.ch] has joined #upstart
=== tale [n=tale@207.235.54.1] has joined #upstart
KeybukAlexExtreme: it's the code upstart uses for its own config file06:44
Keybukseemed sensible to libraryfy it06:44
AlexExtremeyeah06:44
Keybukat that point, you just need two functions, cfg_stanza_enable and cfg_stanza_disable ;)06:46
Keybukand look at cfg_stanza_description for the code you need inside06:47
AlexExtremecool, thanks06:47
Keybuk(call nih_config_next_arg () to get the job name, then nih_config_skip_comment () to guarantee no more args and move to the next line)06:47
AlexExtremei'll play with it tomorrow06:47
Keybukdid you think much about the default or multi-profile stuff?06:48
AlexExtremenot much, i've been quite busy this afternoon06:48
AlexExtremehad one of my machines drop dead, needed to fix it up06:48
Keybukbadness06:49
AlexExtremebrb, dinner06:50
=== rgl_ [n=Rui@84.90.10.107] has joined #upstart
=== rgl_ is now known as rgl
=== mbiebl [n=michael@e180071069.adsl.alicedsl.de] has joined #upstart

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