diff --git a/systemd/system/byceps-worker.service b/systemd/system/byceps-worker.service index c5e60ba..ed31dab 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="USER" -Group="GROUP" +User=byceps +Group=byceps 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"