Use exec on scrutiny-collector cron to ensure signal handling

This way SIGTERM gets propagated and the container terminates
gracefully.
This commit is contained in:
José Rebelo
2024-03-09 22:45:59 +00:00
parent 5e33c33e75
commit ca7bd2c151
+1 -1
View File
@@ -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