From 0e8af537676d8e36cdf111947b4130fc708346e5 Mon Sep 17 00:00:00 2001 From: Christian Willsm Date: Sat, 27 Nov 2021 16:17:50 +0100 Subject: [PATCH] worker service --- systemd/system/byceps-worker.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/system/byceps-worker.service b/systemd/system/byceps-worker.service index ed31dab..c5e60ba 100644 --- a/systemd/system/byceps-worker.service +++ b/systemd/system/byceps-worker.service @@ -5,8 +5,8 @@ Requires=postgresql.service After=postgresql.service [Service] -User=byceps -Group=byceps +User="USER" +Group="GROUP" Type=simple WorkingDirectory=/srv/byceps ExecStart=/bin/sh -c ". venv/bin/activate; export BYCEPS_CONFIG=/srv/byceps/config/%i_config.py; exec ./worker.py >> /var/log/byceps/worker.log"