diff --git a/deploy/inventree.conf b/deploy/inventree.conf index 8acaf04cac..a99bbe58e3 100644 --- a/deploy/inventree.conf +++ b/deploy/inventree.conf @@ -11,24 +11,28 @@ ; InvenTree uses django-q for this purpose [supervisord] -;environment=INVENTREE_SRC_DIR="/mnt/c/inventree/InvenTree", INVENTREE_BIN_DIR="/mnt/c/inventree/InvenTree" -logfile=/var/log/inventree/supervisor.log +; Change this path if log files are stored elsewhere +logfile=/home/inventree/log/supervisor.log [program:inventree-server] +user=inventree directory=/mnt/c/inventree/InvenTree command=/mnt/c/inventree/inventree-env/bin/gunicorn -c gunicorn.conf.py InvenTree.wsgi +startsecs=10 autostart=true autorestart=true startretries=3 -stderr_logfile=/var/log/inventree/server.err.log -stdout_logfile=/var/log/inventree/server.out.log -user=inventree +; Change these paths if log files are stored elsewhere +stderr_logfile=/home/inventree/log/server.err.log +stdout_logfile=/home/inventree/log/server.out.log [program:inventree-cluster] +user=inventree directory=/mnt/c/inventree/InvenTree command=/mnt/c/inventree/inventree-env/bin/python manage.py qcluster +startsecs=10 autostart=true autorestart=true -stderr_logfile=/var/log/inventree/cluster.err.log -stdout_logfile=/var/log/inventree/cluster.out.log -user=inventree \ No newline at end of file +; Change these paths if log files are stored elsewhere +stderr_logfile=/home/inventree/log/cluster.err.log +stdout_logfile=/home/inventree/log/cluster.out.log \ No newline at end of file