upstart won't activate my virtualenv for some reason.
This is how I run it
script
# My startup script, plain old shell scripting here.
cd path/to/env
source bin/activate
....
end script
the virtualenv runs fine when started manually
Why does this not work?
upstart
doesn't preserve the environment between successive commands? You can always use$VIRTUAL_ENV/bin/python ...
to run your app directly without activating the environment. – Arbitratoractivate
should set the same variable up so I used it figuring the name would be familiar. – Arbitrator