worker service

This commit is contained in:
Christian Willsm 2021-11-27 16:17:50 +01:00
parent f7508c5f0a
commit 0e8af53767

View File

@ -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"