Skip to content

Commit

Permalink
Update tracking_cron_job.sh (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Simona-G authored Sep 18, 2023
1 parent f78521d commit 71f7691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/docker-ckan/prod/tracking_cron_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Run the prerun script to init CKAN and create the default admin user
echo "Running prerun script"
sudo -u ckan -EH python3 $APP_DIR/prerun_prod.py
python3 $APP_DIR/prerun_prod.py

echo "Override SQLAlchemy config"
ckan config-tool $CKAN_INI "sqlalchemy.pool_size = 10"
Expand Down Expand Up @@ -106,7 +106,7 @@ then
echo "STARTING CKAN..."
supervisord --configuration /etc/supervisord.conf &
# Start uwsgi
sudo -u ckan -EH uwsgi $UWSGI_OPTS &
uwsgi $UWSGI_OPTS &
while ! curl -sSf http://localhost:5000 > /dev/null 2>&1; do
echo "WAITING for CKAN to be up and running..."
sleep 5
Expand Down

0 comments on commit 71f7691

Please sign in to comment.