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