docker-basessh/start

11 lines
198 B
Plaintext
Raw Normal View History

2015-02-17 21:01:02 -08:00
#!/bin/bash
# run everything in start.d
find /start.d -type f -executable -exec {} \;
2015-02-17 21:01:02 -08:00
2015-02-27 15:35:31 -08:00
# Cleanly kill supervisor when container is stopped
trap 'kill $(jobs -p)' EXIT
2015-02-17 21:01:02 -08:00
# start services
supervisord