njbair | can I use shell commands when setting the value of an env variable? | 17:09 |
---|---|---|
SpamapS | njbair: commands like env X=`foo` ? | 17:23 |
njbair | yeah that didn't work for me | 17:23 |
SpamapS | njbair: thats because that is just for setting defaults. :) | 17:23 |
SpamapS | njbair: just set it in a script..end script section | 17:23 |
njbair | do I use the env keyword inside the script section? | 17:23 |
ion | It’s sh code. You might want “export”. | 17:28 |
njbair | oh I see | 17:32 |
njbair | i must be doing something wrong. when I start my test script it appears to work fine, I get a pid from initctl. but my echo statement is ignored and I dont see any output | 17:33 |
SpamapS | njbair: perhaps pastebin your job file? | 17:56 |
SpamapS | njbair: (hint, apt-get install 'pastebinit' and do 'pastebinit < /etc/init/foo.conf') | 17:56 |
njbair | SpamapS, got it. I was using the wrong command syntax elsewhere. | 17:57 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!