Use exec on scrutiny-collector cron to ensure signal handling

This way SIGTERM gets propagated and the container terminates
gracefully.
pull/597/head
José Rebelo 2 months ago
parent 5e33c33e75
commit ca7bd2c151

@ -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

Loading…
Cancel
Save