2021-01-16 21:03:38 +00:00
|
|
|
[Unit]
|
|
|
|
Description=pretalx background worker
|
|
|
|
After=network.target
|
2021-02-12 12:28:52 +00:00
|
|
|
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
|
2021-04-02 06:05:33 +00:00
|
|
|
Restart=always
|
2021-01-16 21:03:38 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|