[squid-users] Is it possible to modify cached object?

Amos Jeffries squid3 at treenet.co.nz
Wed Feb 1 03:37:30 UTC 2017


On 1/02/2017 6:28 a.m., Antony Stone wrote:
> On Tuesday 31 January 2017 at 18:19:14, boruc wrote:
> 
>> Antony Stone wrote
>>
>>> What do you get from the following:
>>> 	/etc/init.d/squid status
>>> 	/etc/init.d/squid restart
>>
>> literally nothing. I just noticed that there isn't anything with "squid" in
>> name in /etc/init.d.
> 
> Ah, right - that means the original tarball build doesn't put any init scripts 
> into place, then - I haven't built Squid like that myself for some time, so I 
> had forgotten this.
> 
> I suggest you wait until one of the developers responds to this thread and 
> reminds us how to get the appropriate init scripts into place for an Ubuntu 12 
> system - I can't help with that, sorry :(

The results seem correct. We provide some basic init scripts and such in
the tarball but do not install them. The distro packagers choose which
ones to use (or their own sytem-specific ones).

You can find the basic sysvinit script in the tarball sources at
tools/sysvinit/squid.rc
 - note that Squid-3 versions do not integrate with systemd nor upstart
very well so no .service file is provided.

This is why I usually advise people to leave the squid3 package in
place, then build the "./configure && make install" version over the
top. That leaves the distro integration but with the newer binaries.

> 
> However, you're definitely very close to your desired objective.
> 

Yes. 99.999% or so. :-)

Amos



More information about the squid-users mailing list