On Friday, May 29 2020, I wrote:

> On Saturday, May 23 2020, Amos Jeffries wrote:
>> To fix we will either have to find a way to stop systemd erasing the
>> /run/squid directory, or patch the Squid code to create the PID file
>> path as-needed not just the file itself.
>>  For the latter, PRs are welcome upstream. I do not currently have time
>> to work on this myself - thus the bug report.
>
> As I explained above, I don't think using Runtimedirectorypreserve=Yes
> on the unit file will really fix the bug.  I think the best option is to
> patch squid to create the directory tree by itself, if needed.

While we're at it, may I ask the reason for changing the pidfile
location from /run/squid.pid to /run/squid/squid.pid?  The former seemed
OK to me, and would prevent this whole bug from happening.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature

Reply via email to