Make gnuviechadmin components work with Poetry

This commit is contained in:
Jan Dittberner 2023-05-07 13:15:45 +02:00
parent 18f0061ee4
commit 1932c76423
18 changed files with 41 additions and 29 deletions

View file

@ -3,7 +3,7 @@ Description={{ description }}
[Service]
EnvironmentFile=-/etc/default/{{ appname }}
ExecStart={{ virtualenv }}/bin/celery worker -A {{ celery_module }} -Q {{ amqpname }} --loglevel=INFO
ExecStart={{ checkout }}/.venv/bin/celery --app="{{ celery_module }}" worker --queues="{{ amqpname }}" --task-events --concurrency=1 --loglevel=INFO
Restart=on-failure
User={{ app_user }}
WorkingDirectory={{ checkout }}/{{ appname }}