Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on the morning of Tuesday 11th August 2020, starting at approximately 9am PDT. It is expected to take around 20 minutes and there will be a short period of downtime (less than five minutes) towards the end of the maintenance window. Please direct any comments, questions, or concerns to computing-help@ligo.org.

Commit c4f9f348 authored by Thomas Downes's avatar Thomas Downes Committed by GraceDB

Launch gunicorn as gracedb:django_writers

parent 9e2c8e0c
......@@ -79,4 +79,7 @@ RUN DJANGO_SETTINGS_MODULE=${SETTINGS_MODULE} \
DJANGO_PRIMARY_FQDN=fake_fqdn \
python manage.py collectstatic --noinput
RUN groupadd -g 503 django_writers && \
useradd -M -u 50001 -g django_writers -s /bin/false gracedb
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
......@@ -8,8 +8,8 @@ priority=3
[program:gracedb]
command=/usr/local/bin/gunicorn config.wsgi:application --reload --config /app/gracedb_project/config/gunicorn_config.py
directory=/app/gracedb_project
#user=www-data
#group=www-data
user=gracedb
group=django_writers
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment