/srv/irclogs.ubuntu.com/2010/06/09/#upstart.txt

MarcWeberIs pre-stop always executed in 0.6.5 ?00:41
AxillIumJanC: If I put the env directive on the highest level of the conf file, it says the service is unknown (start myservice: start: Unknown job: myservice).08:07
AxillIumJanC: The highest level = not within a sub structure in the conf file, like on the same level as description or author.08:08
AxillIumJanC: BTW: I have just found out that this problem only exists when I want the variable to include the output of some shell command: env MYVAR="prefix-"$(echo $UPSTART_JOB | cut -c 1-2)"-postfix"08:09
AxillIumJanC: But it is exactly this output I need. These are just examples, I use some other, more service specific commands, but you get the idea I guess.08:10
mbieblAxillIum: I don't think upstart does any shell evaluation in env08:18
tstonedoes anybody has an idea why:start on runlevel [06]\n task \n script\n reboot -f \n end script ,does not get started on reboot,shutdown?08:41
AxillIummbiebl: That's too bad, now I will have to find another way to make this work. Perhaps I can just put everything in the script sub, instead of using pre-start.08:44
AxillIumThen, a new question, is there a way to give parameters like: start myservice 1.2.3.4:123 (IP address + port), wihtout using KEY=VAL pairs?09:04
tstonethe above skript does work with "shutdown -r" or "shutdown -h" but not with a plain shutdown? Any idea why a plain shutdown does not work?09:18
tstoneit seems as if shutdown goes to runlevel 1 by default...09:23
MarcWeberAre there any problems know with pre-stop? It doesn't seem to be run here (upstart-0.6.5)11:54
Gadigood morning, all. Has anyone here successfully used "start on kbdrequest" on an ubuntu 10.04 system?16:31
Gadithe keymaps seem to be in order, but I cannot generate KeyboardSignal16:31
Gadiwith alt-uparrow16:32
desadochi ppl19:15
=== Md_ is now known as Md

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