diff --git a/console/supervisord.conf b/console/supervisord.conf index 067dacdc3..5dfdce2bf 100644 --- a/console/supervisord.conf +++ b/console/supervisord.conf @@ -32,7 +32,7 @@ stdout_logfile=/var/log/supervisor/pg-console-api-stdout.log stderr_logfile=/var/log/supervisor/pg-console-api-stderr.log [program:pg-console-ui] -command=/usr/sbin/nginx -g 'daemon off;' +command=/bin/bash -c "/usr/share/nginx/html/env.sh && /usr/sbin/nginx -g 'daemon off;'" startsecs=5 startretries=3 priority=300