@@ -5,6 +5,7 @@ trap cleanup SIGTERM EXIT
cleanup()
{
echo Terminating $SERVICENAME
+ docker stop $(docker ps -q -f label=ru.sdsys.subcontainer=$SERVICENAME)
docker rm -f $(docker ps -q -f label=ru.sdsys.subcontainer=$SERVICENAME)
}