pass sigterm to supervisor

This commit is contained in:
dave 2015-02-27 15:36:18 -08:00
parent e93a180d9b
commit 842a750ace
1 changed files with 3 additions and 0 deletions

3
start
View File

@ -1,5 +1,8 @@
#!/bin/bash
# Cleanly kill supervisor when container is stopped
trap 'kill $(jobs -p)' EXIT
# start services
supervisord