pass sigterm to supervisor

This commit is contained in:
dave 2015-02-27 15:35:31 -08:00
parent f56f8d64c1
commit 1905526711

3
start
View File

@ -5,5 +5,8 @@ if [ ! -f /etc/ssh/sshd_config ]; then
dpkg-reconfigure openssh-server
fi
# Cleanly kill supervisor when container is stopped
trap 'kill $(jobs -p)' EXIT
# start services
supervisord