From b8d0d86d1864cb90dfd7581f10611a204724032f Mon Sep 17 00:00:00 2001 From: Robert Butora <robert.butora@inaf.it> Date: Mon, 3 Mar 2025 19:08:33 +0100 Subject: [PATCH] docker: makes capture SIG (for quick container shutdown) --- docker/Dockerfile | 2 +- docker/start-siav2.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index ab89a9d..b6f5f38 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -56,5 +56,5 @@ RUN chmod a+rw ${WEBAPP_DIR}/WEB-INF/web.xml \ RUN chmod +rx /root && chmod +rx /root/start-siav2.sh USER 1000:1000 -CMD ["sh", "-c", "/root/start-siav2.sh"] +CMD ["/root/start-siav2.sh"] diff --git a/docker/start-siav2.sh b/docker/start-siav2.sh index 5d45c9b..fcf8e49 100755 --- a/docker/start-siav2.sh +++ b/docker/start-siav2.sh @@ -44,5 +44,5 @@ date } 1> $STARTUP_LOG -$CATALINA_HOME/bin/catalina.sh run +exec $CATALINA_HOME/bin/catalina.sh run -- GitLab