Issue 2551117
Created on 2021-03-15 14:56 by hansmaxe, last changed 2021-03-28 17:29 by rouilj.
msg7115 |
Author: [hidden] (hansmaxe) |
Date: 2021-03-15 14:56 |
|
How do i start roundup with systemd?
|
msg7116 |
Author: [hidden] (schlatterbeck) |
Date: 2021-03-15 15:27 |
|
On Mon, Mar 15, 2021 at 02:56:28PM +0000, Hans Maxe wrote:
> How do i start roundup with systemd?
I usually run Roundup behind Apache using WSGI, so everything is taken
care of by the Apache systemd integration.
What are you planning?
The built-in webserver of roundup can't do https (just http), so for a
production system I'd recommend WSGI.
Ralf
--
Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting www: www.runtux.com
Reichergasse 131, A-3411 Weidling email: office@runtux.com
|
msg7117 |
Author: [hidden] (rouilj) |
Date: 2021-03-15 18:05 |
|
Hello Hans:
In message <1615820188.06.0.346657868148.issue2551117@roundup.psfhosted.org>,
Hans Maxe writes:
>How do i start roundup with systemd?
This is probably better discussed on the mailing list. You can sign up
for the roundup-users mailing list at:
https://sourceforge.net/projects/roundup/lists/roundup-users
The answer to your question depends a lot on how you are running it.
If you re running in cgi, mod_python or zope mode there is nothing to
set up, so I assume you are running it in one of its other modes.
Setup for roundup-server and wsgi are quite different. Even wsgi mode
has a few variations depending on what mode you are using.
We don't currently have a systemd config for any of the modes. If your
post on the mailing list turns up a couple of good candidates, I'll
put them in the docs or in the auxilary scripts directory.
|
msg7118 |
Author: [hidden] (rouilj) |
Date: 2021-03-15 18:09 |
|
In message <1615820188.06.0.346657868148.issue2551117@roundup.psfhosted.org>,
Hans Maxe writes:
>
>
>New submission from Hans Maxe:
>
>How do i start roundup with systemd?
This is the systemd config for issues.roundup-tracker.org. Roundup is
run using gunicorn.
=========
[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
================
|
msg7146 |
Author: [hidden] (rouilj) |
Date: 2021-03-28 17:29 |
|
Closing as abandoned. Committed rev 6344:c63df349f319 with the gunicorn
systemd conf shown earlier.
|
|
Date |
User |
Action |
Args |
2021-03-28 17:29:37 | rouilj | set | status: pending -> fixed priority: normal resolution: abandoned messages:
+ msg7146 assignee: rouilj |
2021-03-15 18:09:59 | rouilj | set | messages:
+ msg7118 |
2021-03-15 18:05:02 | rouilj | set | status: new -> pending nosy:
+ rouilj messages:
+ msg7117 |
2021-03-15 15:27:15 | schlatterbeck | set | nosy:
+ schlatterbeck messages:
+ msg7116 |
2021-03-15 14:56:28 | hansmaxe | create | |
|