On 02/19/2018 09:35 PM, Amos Jeffries wrote:
> On 19/02/18 20:52, Adam Majer wrote:
>> On 02/18/2018 06:38 PM, Peng Yu wrote:
>>> I don't find squid3 in /etc/init.d. Does anybody know where the deamon
>>> script is stored?
>> Probably it's running using systemd these days, which means it's
>> somewhere under /lib/systemd or /usr/lib/systemd, and you are NOT
>> suppose to modify that stuff.
> Nod. That is where OS matters.
> Which OS has not been mentioned yet, though from the name "squid3"
> implies Debian or a derivative.
There is also squid3 in SLES11-SP4 and that will exist for a little
while still. But that has SysV init.d scripts though.
> Also, be aware that systemd is not compatible with Squid-3 and packages
> should not be installing .service files for those versions of Squid.
> Eliezer and some others worked out some .service script setup that kind
> of works (almost) with some helper scripts to do the environment
> integration parts. But really if you want systemd you should use Squid-4.
In most cases there is no choice in the matter. For example, SLES12 (so
Leap 42 for openSUSE) is all systemd based and it's been around since
squid 3.3.x days. But the service file there is using squid to manage
squid so it's not that bad ;)
Like it's often in software, sometimes you reach for ideal but then when
you have to ship something you crease and cram to get it in the box ;)
squid-users mailing list