From 6f20bd7770741135588850bea73dad6613cb5b15 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sat, 20 Mar 2021 21:36:49 +0100 Subject: [PATCH] fix path, set log path --- supervisor/conf.d/engine-001.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/supervisor/conf.d/engine-001.conf b/supervisor/conf.d/engine-001.conf index f7905b6e..25720132 100644 --- a/supervisor/conf.d/engine-001.conf +++ b/supervisor/conf.d/engine-001.conf @@ -1,6 +1,8 @@ [program:engine-001] directory=/opt/ffplayout-engine -command=./venv/bin/python3 ffplayout.py -c /etc/ffplayout/ffplayout-001.yml +command=/opt/ffplayout-engine/venv/bin/python ffplayout.py -c /etc/ffplayout/ffplayout-001.yml +redirect_stderr=true +stdout_logfile=/var/log/ffplayout/engine-001.log killasgroup=true stopasgroup=true autorestart=true