mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Update supervisor conf file
This commit is contained in:
parent
e3f49b8996
commit
ce64feb79d
@ -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
|
||||
; 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
|
Loading…
Reference in New Issue
Block a user