2021-01-16 22:03:38 +01:00
|
|
|
[Unit]
|
|
|
|
Description=pretalx web service
|
|
|
|
After=network.target
|
2021-02-12 13:28:52 +01:00
|
|
|
Requires=postgresql.service
|
2021-01-16 22:03:38 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=pretalx
|
|
|
|
Group=pretalx
|
|
|
|
Environment=PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg
|
|
|
|
WorkingDirectory=/opt/pretalx/src/src
|
2021-01-17 07:55:08 +01:00
|
|
|
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
|
2021-04-02 08:05:33 +02:00
|
|
|
Restart=always
|
2021-01-16 22:03:38 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|