2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 03:56:43 +00:00

Reference environment variables in supervisor conf file

This commit is contained in:
Oliver Walters 2021-04-01 20:44:27 +11:00
parent db858b3cfc
commit 47ba0599eb

View File

@ -17,8 +17,8 @@ nodaemon=true
[program:inventree-server] [program:inventree-server]
user=inventree user=inventree
directory=/home/inventree/src/InvenTree directory=%(ENV_INVENTREE_SRC_DIR)s/InvenTree
command=/home/inventree/env/bin/gunicorn -c /home/inventree/gunicorn.conf.py InvenTree.wsgi -b 0.0.0.0:%(ENV_INVENTREE_PORT)s command=%(ENV_INVENTREE_VENV)s/bin/gunicorn -c %(ENV_INVENTREE_HOME)s/gunicorn.conf.py InvenTree.wsgi -b 0.0.0.0:%(ENV_INVENTREE_PORT)s
startsecs=10 startsecs=10
autostart=true autostart=true
autorestart=true autorestart=true
@ -30,8 +30,8 @@ stderr_logfile_maxbytes=0
[program:inventree-cluster] [program:inventree-cluster]
user=inventree user=inventree
directory=/home/inventree/src/InvenTree directory=%(ENV_INVENTREE_SRC_DIR)s/InvenTree
command=/home/inventree/env/bin/python manage.py qcluster command=%(ENV_INVENTREE_VENV)s/bin/python manage.py qcluster
startsecs=10 startsecs=10
autostart=true autostart=true
autorestart=true autorestart=true