We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe7586 commit 88d4492Copy full SHA for 88d4492
templates/web.template.yml
@@ -62,7 +62,7 @@ run:
62
PRECOMPILE_ON_BOOT=1
63
fi
64
if [ -f /usr/local/bin/create_db ] && [ "$CREATE_DB_ON_BOOT" = "1" ]; then
65
- sleep 1; su postgres -c 'pg_isready' || exit 1
+ su postgres -c 'pg_isready' || exit 1
66
/usr/local/bin/create_db
67
fi;
68
if [ "$MIGRATE_ON_BOOT" = "1" ]; then su discourse -c 'bundle exec rake db:migrate' || exit 1; fi
0 commit comments