alphagov/sign-on-o-tron — comment on commit 325f6abe33281b2ead7f3d7d0d4c24db7d8f5d64
File:  line 0
By craigw:

Could we use `env` to clean the environment before we start the process?

RAILS_ENV=${0-development}
/usr/bin/env
RAILS_ENV=$RAILS_ENV
FACTER_govuk_platform=$FACTER_govuk_platform
/path/to/bundle exec rails s -p 3001

That should ensure we have a consistent ENV across all VMs.

I'd love a `chpst -m` in here too to stop one process hogging too much memory.