[squid-users] Squid macOS homebrew package doesn't put squid files in a neat folder

Francesco Chemolli gkinkie at gmail.com
Thu Apr 25 12:48:36 UTC 2024


Hello Hima,
   you raise valid points, but to the wrong audience: default locations for
homebrew
installs are determined by the maintainers of the homebrew package, so the
best thing
to do is to reach out to them to see if they're willing to change them.

All paths can be controlled from squid.conf, and the location for
squid.conf itself can be specified
as a command line argument, so you always have the option to adopt the file
structure that works
best for you.

Hope this helps,
  Francesco

On Wed, Apr 24, 2024 at 8:21 PM Hima Tammineedi <hima at withforge.com> wrote:

> Hi,
>
> It seems that on macOS with homebrew, that the squid files are not
> installed in a proper subdirectory like they are on linux.
>
> I installed squid on macOS with `brew install squid`
> I then noticed that the conf file is found at
> `/opt/homebrew/etc/squid.conf`
> And then after some digging and searching, found that the access.log and
> cache.log are at `/opt/homebrew/var/logs/{access,cache}.log`.
>
> But the part that doesn't seem good here is that these files are not being
> put into folders.
> In `/opt/homebrew/etc/` for example, it would be better if the three files
> that squid created: squid.conf, squid.conf.default,
> and squid.conf.documented were put into a subdir like
> `/opt/homebrew/etc/squid/squid.conf` etc.
> That would be better organization.
>
> It's worse for the log files because they are just in the root logs folder
> with generic names "access" and "cache", and so some other program could
> use the same file names and they might overwrite each other!
>
> In linux installs, there is a subdir.
>
> Can this be fixed?
>
> Thanks,
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> https://lists.squid-cache.org/listinfo/squid-users
>


-- 
    Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20240425/23585556/attachment.htm>


More information about the squid-users mailing list