Fixes to the .env and upstart config for the debian package.