On 6/03/25 19:17, Andrey K wrote:
Hello,

I have a similar configuration: two SMP squids running on the same OEL host.

They were built with different configurations: with different installation path prefixes and different names of binary files: squid and squid.user and they listen to different ports. They are launched from two different services:squid.service and squid.user.service with the service Type=forking:

    ExecStart=/usr/sbin/squid -sYC
    ExecStart=/sbin/squid.user -f /etc/squid.user/squid.conf

I have not experienced any troubles with this configuration yet.

/> Please be aware that "squid -n ..." is a REQUIREMENT for running/
/multiple Squid instances on the same machine regardless of what features
are used./

Could you please tell me if I should use the -n option in the ExecStart strings?
The arguments of the options should be the service names?

    ExecStart=/usr/sbin/squid -sYC -n squid.service
    ExecStart=/sbin/squid.user -f /etc/squid.user/squid.conf -n
    squid.user.service

Yes you should. The different ./configure options has helped you avoid major issues, but some may still appear.


Cheers
Amos

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users

Reply via email to