I have an Ubuntu 12.04 LTS server with a vanilla apache install. In my Apache Config, I'm using PassEnv
to pass an environment variable:
PassEnv MY_VARIABLE
MY_VARIABLE
is defined in /etc/environment
:
MY_VARIABLE=true
If I stop and start apache, the variable is picked up and all is well. However, after reboot, apache does not pick up MY_VARIABLE
.
Does Apache start before variables in /etc/environment
are set? Is there some other way to accomplish what I'm trying to do?