1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/lokole/templates/celery.service.unused

16 lines
451 B
Text
Raw Normal View History

2020-09-02 07:51:57 +00:00
[Unit]
Description=Celery service
After=network.target
After=lokole.service
Before=celerybeat.service
2020-09-02 07:51:57 +00:00
[Service]
Type=simple
2021-05-19 15:32:14 +00:00
EnvironmentFile={{ lokole_run_directory }}/settings.env
2021-05-18 11:29:05 +00:00
ExecStart={{ lokole_venv }}/bin/celery --uid={{ lokole_uid }} --gid={{ lokole_uid }} --app=opwen_email_client.webapp.tasks worker --loglevel=info --concurrency=2
2020-09-02 07:51:57 +00:00
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill TERM $MAINPID
[Install]
WantedBy=multi-user.target