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-web.service
Normal file
14
bundles/pretalx/files/pretalx-web.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=pretalx web service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=pretalx
|
||||
Group=pretalx
|
||||
Environment=PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg
|
||||
WorkingDirectory=/opt/pretalx/src/src
|
||||
ExecStart=/opt/pretalx/venv/bin/gunicorn pretalx.wsgi --name pretalx --workers 4 --max-requests 1200 --max-requests-jitter 50 --log-level=info --bind=127.0.0.1:8345
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue