From ca7bd2c1515f424bbd030510adab3d0fd4d531dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rebelo?= Date: Sat, 9 Mar 2024 22:45:59 +0000 Subject: [PATCH] Use exec on scrutiny-collector cron to ensure signal handling This way SIGTERM gets propagated and the container terminates gracefully. --- docker/entrypoint-collector.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint-collector.sh b/docker/entrypoint-collector.sh index 7c78183..9369fc8 100755 --- a/docker/entrypoint-collector.sh +++ b/docker/entrypoint-collector.sh @@ -25,4 +25,4 @@ fi # now that we have the env start cron in the foreground echo "starting cron" -su -c "cron -f -L 15" root +exec su -c "cron -f -L 15" root