bundlewrap/bundles/pretalx/files/pretalx-worker.service

16 lines
348 B
SYSTEMD
Raw Permalink Normal View History

2021-01-16 21:03:38 +00:00
[Unit]
Description=pretalx background worker
After=network.target
Requires=postgresql.service
2021-01-16 21:03:38 +00:00
[Service]
User=pretalx
Group=pretalx
Environment=PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg
ExecStart=/opt/pretalx/venv/bin/celery -A pretalx.celery_app worker -l info
WorkingDirectory=/opt/pretalx
Restart=always
2021-01-16 21:03:38 +00:00
[Install]
WantedBy=multi-user.target