Debug info as container does not start.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-09 17:28:04 +01:00
parent 90c0b8ee4d
commit daa07f29bc

View File

@@ -1,10 +1,14 @@
#!/usr/bin/env bash
set -Eeo pipefail
echo "Creating CRON entry for rake redmine:send_reminders"
echo "$REDMINE_SEND_REMINDERS_CRON_EXPR root cd /usr/src/redmine && rake redmine:send_reminders days=$REDMINE_SEND_REMINDERS_DAYS RAILS_ENV=production" > /etc/cron.d/redmine
chmod 0644 /etc/cron.d/redmine
crontab /etc/cron.d/redmine
set -- /docker-entrypoint.sh "$@"
echo Starting CRON
service cron start
set -- /docker-entrypoint.sh "$@"
echo Executing original Redmine "$@"
exec "$@"