Update deploy.sh

Fixed env vars passing to the upstart script.