Specify user and logfile

This commit is contained in:
Oliver Walters 2021-03-19 22:08:11 +11:00
parent 283663633a
commit b7718d9c6c

View File

@ -11,7 +11,8 @@
; InvenTree uses django-q for this purpose ; InvenTree uses django-q for this purpose
[supervisord] [supervisord]
environment=INVENTREE_SRC_DIR="/mnt/c/inventree/InvenTree", INVENTREE_BIN_DIR="/mnt/c/inventree/InvenTree" ;environment=INVENTREE_SRC_DIR="/mnt/c/inventree/InvenTree", INVENTREE_BIN_DIR="/mnt/c/inventree/InvenTree"
logfile=/var/log/inventree/supervisor.log
[program:inventree-server] [program:inventree-server]
directory=/mnt/c/inventree/InvenTree directory=/mnt/c/inventree/InvenTree
@ -21,6 +22,7 @@ autorestart=true
startretries=3 startretries=3
stderr_logfile=/var/log/inventree/server.err.log stderr_logfile=/var/log/inventree/server.err.log
stdout_logfile=/var/log/inventree/server.out.log stdout_logfile=/var/log/inventree/server.out.log
user=inventree
[program:inventree-cluster] [program:inventree-cluster]
directory=/mnt/c/inventree/InvenTree directory=/mnt/c/inventree/InvenTree
@ -29,3 +31,4 @@ autostart=true
autorestart=true autorestart=true
stderr_logfile=/var/log/inventree/cluster.err.log stderr_logfile=/var/log/inventree/cluster.err.log
stdout_logfile=/var/log/inventree/cluster.out.log stdout_logfile=/var/log/inventree/cluster.out.log
user=inventree