before adding users
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
printenv >> /etc/environment
|
||||
|
||||
echo "updating cron..."
|
||||
bundle exec whenever --update-crontab --set environment=development
|
||||
|
||||
# Start cron in foreground
|
||||
echo "starting cron..."
|
||||
cron
|
||||
# bundle exec whenever --update-crontab
|
||||
|
||||
# Then exec the container's main process (what's set as CMD in the Dockerfile).
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user