Debug info as container does not start.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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 "$@"
|
||||
Reference in New Issue
Block a user