Fix for tasks.py (??)

This commit is contained in:
Oliver Walters 2021-04-11 13:22:16 +10:00
parent c9021fe991
commit 2e8d3b6424
2 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,12 @@
[supervisord]
; Change this path if log files are stored elsewhere
logfile=/home/inventree/log/supervisor.log
user=inventree
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock
; InvenTree Web Server Process
[program:inventree-server]
user=inventree
directory=/home/inventree/src/InvenTree
@ -26,6 +31,7 @@ startretries=3
stderr_logfile=/home/inventree/log/server.err.log
stdout_logfile=/home/inventree/log/server.out.log
; InvenTree Background Worker Process
[program:inventree-cluster]
user=inventree
directory=/home/inventree/src/InvenTree

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from invoke import task
from invoke import ctask as task
from shutil import copyfile
import os