Fixing a few additional things

The `init.done` file needs to be put somewhere that persists between
container runs.  The `env` file needs to be somewhere that's externally
accessible, and we need to trap both `INT` and `TERM` for nice exiting.