Make gnuviechadmin components work with Poetry
This commit is contained in:
parent
18f0061ee4
commit
1932c76423
18 changed files with 41 additions and 29 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue