We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4cb7dae + cfd1d9a commit e670499Copy full SHA for e670499
2 files changed
rootfs/api/views.py
@@ -38,6 +38,7 @@ def get(self, request):
38
c.execute("SELECT 0")
39
except django.db.Error as e:
40
logger.critical("Database health check failed")
41
+ # FIXME why is turning on DEBUG=true in env not outputting this error?
42
logger.debug(str(e))
43
44
return HttpResponse(
rootfs/bin/boot
@@ -33,7 +33,7 @@ echo "Database Migrations:"
33
sudo -E -u deis python /app/manage.py migrate --settings deis.production --noinput
34
35
# spawn a gunicorn server in the background
36
-sudo -E -u deis gunicorn -c /app/deis/gconf.py deis.wsgi &
+sudo -E -u deis gunicorn --env DJANGO_SETTINGS_MODULE=deis.production -c /app/deis/gconf.py deis.wsgi &
37
python /app/manage.py load_db_state_to_k8s --settings deis.production
0 commit comments