Apache must be pid 1 so have to drop post deploy script. Add automatic support for envars script.