Exec supervisord

This commit is contained in:
dave 2017-04-22 15:37:01 -07:00
parent 407f8817cc
commit 0cf409047c
2 changed files with 5 additions and 8 deletions

5
start
View File

@ -3,10 +3,7 @@
# run everything in start.d
find /start.d -type f -executable -exec {} \;
# Cleanly kill supervisor when container is stopped
trap 'kill $(jobs -p)' EXIT
chown nexus /nexus
# start services
supervisord
exec supervisord