Execute supercronic as PID 1 process

So, SIGINT can be passed to supercronic instead of entrypoint script shell. Providing quick container restart
This commit is contained in:
Vitali Khlebko
2022-10-18 00:17:33 -04:00
parent aabc6ae1d3
commit a5f83699cc
+1 -1
View File
@@ -53,4 +53,4 @@ configure_timezone
configure_cron
# foreground run crond
supercronic -passthrough-logs -quiet "${CRON_CONFIG_FILE}"
exec supercronic -passthrough-logs -quiet "${CRON_CONFIG_FILE}"