From b7718d9c6c59361ae7d269c2d5e3061cfc01286f Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 19 Mar 2021 22:08:11 +1100 Subject: [PATCH] Specify user and logfile --- deploy/inventree.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy/inventree.conf b/deploy/inventree.conf index 5893b19e67..8acaf04cac 100644 --- a/deploy/inventree.conf +++ b/deploy/inventree.conf @@ -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 \ No newline at end of file