mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Specify user and logfile
This commit is contained in:
parent
283663633a
commit
b7718d9c6c
@ -11,7 +11,8 @@
|
||||
; InvenTree uses django-q for this purpose
|
||||
|
||||
[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]
|
||||
directory=/mnt/c/inventree/InvenTree
|
||||
@ -21,6 +22,7 @@ autorestart=true
|
||||
startretries=3
|
||||
stderr_logfile=/var/log/inventree/server.err.log
|
||||
stdout_logfile=/var/log/inventree/server.out.log
|
||||
user=inventree
|
||||
|
||||
[program:inventree-cluster]
|
||||
directory=/mnt/c/inventree/InvenTree
|
||||
@ -29,3 +31,4 @@ autostart=true
|
||||
autorestart=true
|
||||
stderr_logfile=/var/log/inventree/cluster.err.log
|
||||
stdout_logfile=/var/log/inventree/cluster.out.log
|
||||
user=inventree
|
Loading…
Reference in New Issue
Block a user