June 22, 2026
2:31 p.m.
Thank you! You wrote:
On 6/21/26 4:16 AM, Lars Bjørndal wrote:
Sometimes when I reboot the machine, I experience that mailman doesn't start because the files /opt/mailman3/mm/var/locks/master.lck* isn't deleted during shutdown. Maybe one way to solve this could be to use ExecStartPre directive in the systemd service to remove the lock files. What's the best practice to solve this problem?
You can add
--forceto theExecStartcommand in your service file.
At least, with the --force option, Mailman started successfully this morning when I rebooted the machine.
[...]
Lars