view scripts/systemd.gunicorn @ 8236:2d0bd038fc5e

doc: clarify adding ctx argument to check command in schema.py On IRC user was unsure what file was used for the 1.51 - 1.60 upgrade section: Enhancement to check command for Permissions added file name desription and example. Also marked it as optional. Clarified that if or when it becomes required there will be a new required upgrade direction.
author John Rouillard <rouilj@ieee.org>
date Mon, 23 Dec 2024 21:10:54 -0500
parents c63df349f319
children
line wrap: on
line source

[Unit]
Description=Roundup Server - roundup

[Service]
User=roundup
WorkingDirectory=/path/to/roundup/trackers/roundup
SyslogIdentifier=roundup-server-roundup
ExecStart=/path/to/gunicorn -b unix:///var/run/roundup/roundup.sock wsgi -w 4 --preload --max-requests 128 --max-requests-jitter 32 --timeout 60 --graceful-timeout 60 --access-logfile - --error-logfile
ExecReload=/bin/kill -HUP $MAINPID
ExecStop = /bin/kill -s TERM $MAINPID
KillMode=mixed
Restart=on-failure
RestartSec=15s

[Install]
WantedBy=multi-user.target

Roundup Issue Tracker: http://roundup-tracker.org/