[Bug 247247] www/squid: fails to start when dir for pidfile does not exist (e.g. /var/run is a tmpfs)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 17 07:07:28 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247247

--- Comment #1 from timp87 at gmail.com ---
(In reply to t.eichstaedt from comment #0)
Hi, Torsten! Thank you for the report!

> pidfile=/var/run/squid.pid (why does squid need it's own directory? worker threads?)

Oh, I don't remember why it was placed in a separate dir. Probably some kind of
legacy. I'll take a look at svn history. The suggestion looks good to me.


> chdir=/var/cache/squid
This is exactly what I wanted to do back in 2015
https://lists.freebsd.org/pipermail/freebsd-ports/2015-July/099740.html
But people told me that /var/cache is intended for different "type"(?) of
cache.
Well, read the thread :)

> Appended is the patch to my fixed service script
I'll review it soon. And probably get back with questions ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list