docker-nexus/start

13 lines
218 B
Plaintext
Raw Normal View History

2015-02-17 21:37:15 -08:00
#!/bin/bash
2015-09-07 23:33:32 -07:00
# run everything in start.d
find /start.d -type f -executable -exec {} \;
2015-02-17 21:37:15 -08:00
2015-02-27 15:36:29 -08:00
# Cleanly kill supervisor when container is stopped
trap 'kill $(jobs -p)' EXIT
2015-09-07 23:33:32 -07:00
chown nexus /nexus
2015-02-17 21:37:15 -08:00
# start services
supervisord