On 10/25/25 08:06, Dennis Putnam via Mailman-users wrote:
On 10/25/2025 2:54 AM, Stephen J. Turnbull wrote:

You should ensure that all of the executable paths in the systemd
mailman (or mailman3) and mailman-web unit files are absolute paths
pointing into the venv.
*This looks right to me but nothing points to /opt/mailman/venv/lib. Should there be a lib_dir parameter set in mailman.cfg?

[Unit]
Description=GNU Mailing List Manager
After=syslog.target network.target

[Service]
Type=forking
PIDFile=/opt/mailman/mm/var/master.pid
User=mailman
Group=mailman
Environment="MAILMAN_CONFIG_FILE=/etc/mailman3/mailman.cfg"
ExecStart=/opt/mailman/venv/bin/mailman start
ExecReload=/opt/mailman/venv/bin/mailman restart
ExecStop=/opt/mailman/venv/bin/mailman stop
Restart=on-failure
RestartSec=15

[Install]
WantedBy=multi-user.target*


And what about mailmanweb.service? And did you check the shebang line in /opt/mailman/mm/venv/bin/gunicorn - see https://lists.mailman3.org/archives/list/[email protected]/message/FFO6PYF44TKGW3OEQT2CIXTWROGUMDH3/

--
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/[email protected]/message/OAHRVX7JJFQZ6A73JUBZ4PW4HE6BXK43/

This message sent to [email protected]

Reply via email to