Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2020 07:07:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247247] www/squid: fails to start when dir for pidfile does not exist (e.g. /var/run is a tmpfs)
Message-ID:  <bug-247247-7788-2bjTRMDl6F@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247247-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247247-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247247

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

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

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


> chdir=3D/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 ;)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247247-7788-2bjTRMDl6F>