annotate scripts/systemd.gunicorn @ 7322:485cecfba982

Simplify TOC; older docs pushed a level down; Consolidate debugging Restructured docs.txt. Pulled out older documents into Old Docs. I wish I could add whitespace between documents in the toc. Current order split into groupings: Roundup Features Roundup Features Installing Roundup Upgrading to newer versions of Roundup Reporting Security Issues with Roundup Roundup FAQ User Guide Customising Roundup REST API for Roundup XML-RPC access to Roundup Roundup Reference Roundup Glossary Administration Guide License Acknowledgements Other Docs debugging.txt removed. Its contents replaced a reference in developer.txt. Added olderdocs for: docs/upgrading-history docs/tracker_templates Design Overview <docs/overview> Design (original) <docs/design> docs/developers Notes about the MySQL Database backend <docs/mysql> Notes about the PostgreSQL Database backend <docs/postgresql> Richard Jones implementation notes <docs/implementation> docs/security-history to keep them out of the docs.txt sidebar.
author John Rouillard <rouilj@ieee.org>
date Thu, 11 May 2023 13:50:57 -0400
parents c63df349f319
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6344
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
1 [Unit]
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
2 Description=Roundup Server - roundup
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
3
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
4 [Service]
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
5 User=roundup
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
6 WorkingDirectory=/path/to/roundup/trackers/roundup
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
7 SyslogIdentifier=roundup-server-roundup
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
8 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
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
9 ExecReload=/bin/kill -HUP $MAINPID
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
10 ExecStop = /bin/kill -s TERM $MAINPID
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
11 KillMode=mixed
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
12 Restart=on-failure
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
13 RestartSec=15s
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
14
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
15 [Install]
c63df349f319 issue2551117 - add example systemd config
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
16 WantedBy=multi-user.target

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