Properly export environment to upstart.