pass sigterm to supervisor

This commit is contained in:
dave 2015-02-27 15:36:29 -08:00
parent 0c49d9e2c9
commit dad2258164
1 changed files with 3 additions and 0 deletions

3
start
View File

@ -7,5 +7,8 @@ fi
chown nexus /nexus chown nexus /nexus
# Cleanly kill supervisor when container is stopped
trap 'kill $(jobs -p)' EXIT
# start services # start services
supervisord supervisord