MarcWeber | Is pre-stop always executed in 0.6.5 ? | 00:41 |
---|---|---|
AxillIum | JanC: 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 |
AxillIum | JanC: The highest level = not within a sub structure in the conf file, like on the same level as description or author. | 08:08 |
AxillIum | JanC: 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 |
AxillIum | JanC: 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 |
mbiebl | AxillIum: I don't think upstart does any shell evaluation in env | 08:18 |
tstone | does 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 |
AxillIum | mbiebl: 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 |
AxillIum | Then, 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 |
tstone | the 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 |
tstone | it seems as if shutdown goes to runlevel 1 by default... | 09:23 |
MarcWeber | Are there any problems know with pre-stop? It doesn't seem to be run here (upstart-0.6.5) | 11:54 |
Gadi | good morning, all. Has anyone here successfully used "start on kbdrequest" on an ubuntu 10.04 system? | 16:31 |
Gadi | the keymaps seem to be in order, but I cannot generate KeyboardSignal | 16:31 |
Gadi | with alt-uparrow | 16:32 |
desadoc | hi ppl | 19:15 |
=== Md_ is now known as Md |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!