/srv/irclogs.ubuntu.com/2009/09/19/#upstart.txt

ion(offtopic) A Monkey Island game for free: http://www.telltalegames.com/playlikeapirate01:23
=== sadmac_ is now known as sadmac
mgoetzehi ... from the manpage, i can't figure out what effect specifying "respawn" for a service actually has, since that is, supposedly, the default...20:08
Esmilmgoetze: Which version of upstart are you using? At least with 0.6.3 jobs behave differently with and without respawn20:25
mgoetzeEsmil: hm yes 0.6.3, and it seems they indeed don't respawn without respawn, which means the manpage is rather confusing20:28
mgoetzedoes upstart have any events for ac power plugged in etc. ?20:29
Esmilmgoetze: I don't think it has, but I haven't tested it. It shouldn't be too hard to add a udev rule firing 'initctl emit' or something similar though20:32
mgoetzei guess cron functionality such as "start every hour" isn't implemented yet?20:47
EsmilNo, but its planned20:48
EsmilBtw. I just remembered I have an udev rule to fire an event everytime I swith on/off my wireless, its definately possible to do it for ac power too20:50
mgoetzeeh... has my /etc/udev/rules.d always been so empty? *scratches head*20:54
mgoetzehm, how does one autmatically start multiinstanced jobs? i tried the following:21:46
mgoetzestart on runlevel [23] TTY=tty221:46
mgoetzebut it doesn't seem to have worked :(21:46
Esmilmgoetze: I don't think thats possible at the moment. You can, however make another job, eg. tty2.conf, just start on runlevel [23], pre-start exec start getty TTY=tty2, post-stop exec stop getty TTY=tty221:53
mgoetzeoh... that sucks :(21:56
EsmilYes, it does. In order to fix it you'd have to figure out some new syntax of job files since events can have key/value pairs too. Probably something like "start TTY=tty2 on some-event KEY=value"22:08
* mgoetze reports his first ever launchpad bug22:34
mgoetzeam i not allowed to set the severity to wishlist myself?22:35
=== pocek_ is now known as pocek

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