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. For enabled systemd stuff, it will even tell you where things are. For example on openSUSE Tumbleweed, # systemctl enable squid Created symlink /etc/systemd/system/multi-user.target.wants/squid.service → /usr/lib/systemd/system/squid.service. So, how do you overwrite things in systemd? Well, make a directory in /etc/systemd/system/squid.service.d and write your override settings there. For example, # systemctl status squid ● squid.service - Squid caching proxy Loaded: loaded (/usr/lib/systemd/system/squid.service; enabled; vendor preset: disabled) Active: inactive (dead) Then, :/etc/systemd/system/squid.service.d # cat description.conf [Unit] Description=testing only # systemctl daemon-reload # systemctl status squid ● squid.service - testing only Loaded: loaded (/usr/lib/systemd/system/squid.service; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/squid.service.d └─description.conf Active: inactive (dead) Hopefully that helps you understand the basics on how to configure systemd based systems when you need to override the default config files. - Adam _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users