mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 05:51:56 +08:00
To make changing the gunicorn configuration more easily let's move configuration values from systemd service to separate configuration file. The file will live in /etc/mailman3/gunicorn.conf.py.
16 lines
313 B
Desktop File
16 lines
313 B
Desktop File
[Unit]
|
|
Description= Mailman Web ui
|
|
DefaultDependencies=no
|
|
After=network.target
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=mailman
|
|
Group=mailman
|
|
WorkingDirectory=/etc/mailman3
|
|
ExecStart=/usr/bin/gunicorn -c /etc/mailman3/gunicorn.conf.py mailman_web.wsgi
|
|
ExecStop=/bin/kill -s TERM $MAINPID
|