On 14.08.25 01:15, Piet Barber via Mailman-users wrote:
What am I missing?
root@arcus:/etc/nginx# cat /etc/systemd/system/mailman3.service

The command you want is

# systemctl cat mailman3.service

That shows the whole configuration including possible drop-ins.

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

[Service]
Type=forking
PIDFile=/opt/mailman/mm/var/master.pid

The obvious guess would be that the pidfile is not writable for the service or is already in used by another process. systemd seems to have a problem determining the main process pid which should be in the pidfile.

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

Those two are not in the documentation and you really should have those if you are investigating startup issues with systemd. In the worst case it starts a new process every 15 seconds...

Stick to the docs. Once everything works, then consider adding that...

-Gerald
_______________________________________________
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/P2D45TJFLPGYWZWAO3WQLSVOVFLYVNLX/

This message sent to [email protected]

Reply via email to