=== 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 [05:46] how do I get a proper serial console with upstart? === 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 [04:03] Hi all [04:05] hi === reppel [n=reppel@213-140-11-128.fastres.net] has joined #upstart [04:09] Hi, is it possible to define something i call "systemup" which should be emited when two jobs are finished? [04:10] for instance "networking and fs" [04:12] within upstart? not directly [04:12] you can obviously run "initctl emit systemup" [04:13] yes but how do i know when both net and fs jobs have finished? [04:13] that's being worked on at the moment [04:13] ah ok thank you [04:33] hmm that profile syntax looks better ;) === juergbi [n=juerg@80-219-16-162.dclient.hispeed.ch] has joined #upstart [04:59] heh [04:59] the primary advantage would be you can parse it with one function call and a table :) [05:00] and then we could have /etc/init.conf [05:00] profile foo [05:00] enable * [05:00] disable bar [05:00] end profile [05:00] job bar [05:00] .. [05:00] end job [05:00] if we wanted [05:00] yeah [05:00] i knew nothing about nih/config ;) === 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 [06:44] AlexExtreme: it's the code upstart uses for its own config file [06:44] seemed sensible to libraryfy it [06:44] yeah [06:46] at that point, you just need two functions, cfg_stanza_enable and cfg_stanza_disable ;) [06:47] and look at cfg_stanza_description for the code you need inside [06:47] cool, thanks [06:47] (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] i'll play with it tomorrow [06:48] did you think much about the default or multi-profile stuff? [06:48] not much, i've been quite busy this afternoon [06:48] had one of my machines drop dead, needed to fix it up [06:49] badness [06:50] brb, dinner === 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