I need to export a variable FOO=stringhere
so that system processes could use it. And the place I would like to do this, is Upstart job.
Unfortunately, I tried as per Upstart manual to do env FOO=stringhere
http://upstart.ubuntu.com/cookbook/#environment-variables
But after the system is booted, echo $FOO
returns nothing.
Am I trying to do something impossible, or are there any gotchas I should know?