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