=== ion is now known as ION | ||
diverdude | hello, 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 |
---|---|---|
slangasek | diverdude: 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 |
diverdude | i 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 reason | 20:13 |
slangasek | because a) 'env' does itself not do variable expansion, and b) where do you expect $HOME to be set from | 20:16 |
diverdude | slangasek: $HOME was just an example....in my script i was setting an env var and using it in the line below | 20:17 |
slangasek | ok | 20:19 |
slangasek | so you could do variable expansion by hand in the 'script' part by calling eval | 20:19 |
slangasek | but it's probably not worth it | 20:19 |
diverdude | nah i just wroite it manually | 20:20 |
slangasek | it's *probably* better to just set the final value of the variable manually, yeah | 20:20 |
diverdude | What 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!