bundlewrap/bundles/pretalx/files/pretalx-web.service
Franzi 638e37c05f
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles: add Requires=postgresql.service to some services which require postgresql
2021-02-12 13:28:52 +01:00

16 lines
445 B
Desktop File

[Unit]
Description=pretalx web service
After=network.target
Requires=postgresql.service
[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:22060
Restart=on-failure
[Install]
WantedBy=multi-user.target