[Unit]
Description=Celery service
After=network.target
After=lokole.service
Before=celerybeat.service

[Service]
Type=simple
ExecStart={{ lokole_venv }}/bin/celery --app=opwen_email_client.webapp.tasks worker --loglevel=info --concurrency=2
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill TERM $MAINPID

[Install]
WantedBy=multi-user.target
