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"