bundles/pretalx: introduce
This commit is contained in:
parent
0b9056bd2b
commit
70944d7065
9 changed files with 314 additions and 0 deletions
14
bundles/pretalx/files/pretalx-worker.service
Normal file
14
bundles/pretalx/files/pretalx-worker.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=pretalx background worker
|
||||
After=network.target
|
||||
|
||||
[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=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue