Skip to content
Snippets Groups Projects
Commit fadadc0a authored by Robin Sonnabend's avatar Robin Sonnabend Committed by Hinrikus Wolf
Browse files

Add forgotten celery service template again

parent 85b00f92
No related branches found
No related tags found
1 merge request!3Unify uwsgi python
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
......@@ -41,7 +41,7 @@
- name: ensure the celery unit file exists
template:
src: celery.service.j2
src: apps/protokollsystem-celery.service.j2
dest: "/etc/systemd/system/{{ app_name }}-celery.service"
owner: root
group: root
......
[Unit]
Description={{ app_name }}-Celery
After=network.target
[Service]
User={{ app_user }}
Group={{ app_group }}
WorkingDirectory={{ app_path }}
Environment=VIRTUAL_ENV="{{ app_path }}"
ExecStart={{ app_path }}/bin/celery -A server.celery worker --loglevel=DEBUG --concurrency={{ protokolle_celery_concurrency }}
Restart=always
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment