Skip to content

Commit

Permalink
Execute supercronic as PID 1 process
Browse files Browse the repository at this point in the history
So, SIGINT can be passed to supercronic instead of entrypoint script shell. Providing quick container restart
  • Loading branch information
Vetal-ca committed Oct 18, 2022
1 parent aabc6ae commit a5f8369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit a5f8369

Please sign in to comment.