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:
@@ -25,4 +25,4 @@ fi
|
|||||||
|
|
||||||
# now that we have the env start cron in the foreground
|
# now that we have the env start cron in the foreground
|
||||||
echo "starting cron"
|
echo "starting cron"
|
||||||
su -c "cron -f -L 15" root
|
exec su -c "cron -f -L 15" root
|
||||||
|
|||||||
Reference in New Issue
Block a user