[Mailman-Users] Systemctl unit file for MM

Bryan Blackwell bryan at skiblack.com
Wed Apr 10 12:40:20 EDT 2019


On Apr 10, 2019, at 11:44 AM, Mark Sapiro <mark at msapiro.net> wrote:
> 
> You may want to add
> 
> PIPFile=/home/mailman/data/master-qrunner.pid

Ok, thanks, will do.
> 
> However, I don't think that's relevant to your issue. I don't know why
> the rm command doesn't work. How do you know it doesn't?

I touched a test file in the locks directory and it was still there after starting MM.  I found the solution after further searching (on an archived systemd-devel mailing list post, of course):

>> ExecStart does not go through a shell, so it won't expand wildcards.

>> Try running 'find /dir -mindepth 1 -delete', that also cleans up dotdirs.

>> Alternatively 'sh -c "rm .../*" to handle wildcards.

Problem solved!

--Bryan


More information about the Mailman-Users mailing list