From dad22581646956e32df23a48034fee59b29599db Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 27 Feb 2015 15:36:29 -0800 Subject: [PATCH] pass sigterm to supervisor --- start | 3 +++ 1 file changed, 3 insertions(+) diff --git a/start b/start index 4200630..e2d1db2 100644 --- a/start +++ b/start @@ -7,5 +7,8 @@ fi chown nexus /nexus +# Cleanly kill supervisor when container is stopped +trap 'kill $(jobs -p)' EXIT + # start services supervisord