/srv/irclogs.ubuntu.com/2012/10/22/#upstart.txt

=== ion is now known as ION
diverdudehello, i have specified environment variables as env NAME=VAL but for some reason the executable specified below as exec /path/to/file cannot find the .so files anyway....should these environment variables be set in a different way?19:54
slangasekdiverdude: from your description that sounds like the right way to do it; you may want to post a full copy of your job?20:10
diverdudei found it....its because apparantly i cannot do eg. env NAME=VAL where VAL is $HOME/some/path. It seems that will be rendered to $HOME/some/path instead of /home/username/some/path...for some reason20:13
slangasekbecause a) 'env' does itself not do variable expansion, and b) where do you expect $HOME to be set from20:16
diverdudeslangasek: $HOME was just an example....in my script i was setting an env var and using it in the line below20:17
slangasekok20:19
slangasekso you could do variable expansion by hand in the 'script' part by calling eval20:19
slangasekbut it's probably not worth it20:19
diverdudenah i just wroite it manually20:20
slangasekit's *probably* better to just set the final value of the variable manually, yeah20:20
diverdudeWhat is the latest stage i can start the daemon automatically on bootup?23:22
diverdude?23:33
=== ION is now known as ion

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