diff --git a/Makefile b/Makefile index 3e915d7c07..f748c7992b 100644 --- a/Makefile +++ b/Makefile @@ -402,7 +402,7 @@ uwsgi: collectstatic @if [ "$(VENV_BASE)" ]; then \ . $(VENV_BASE)/tower/bin/activate; \ fi; \ - uwsgi -b 32768 --socket :8050 --module=awx.wsgi:application --home=/venv/tower --chdir=/tower_devel/ --vacuum --processes=5 --harakiri=120 --master --no-orphans --py-autoreload 1 --max-requests=1000 --stats /tmp/stats.socket --master-fifo=/tmp/awxfifo --lazy-apps + uwsgi -b 32768 --socket :8050 --module=awx.wsgi:application --home=/venv/tower --chdir=/tower_devel/ --vacuum --processes=5 --harakiri=120 --master --no-orphans --py-autoreload 1 --max-requests=1000 --stats /tmp/stats.socket --master-fifo=/var/lib/awx/awxfifo --lazy-apps daphne: @if [ "$(VENV_BASE)" ]; then \ diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 4614e45140..d59b3b246b 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -112,7 +112,7 @@ def _uwsgi_reload(): # http://uwsgi-docs.readthedocs.io/en/latest/MasterFIFO.html#available-commands logger.warn('Initiating uWSGI chain reload of server') TRIGGER_CHAIN_RELOAD = 'c' - with open('/tmp/awxfifo', 'w') as awxfifo: + with open('/var/lib/awx/awxfifo', 'w') as awxfifo: awxfifo.write(TRIGGER_CHAIN_RELOAD)