Bugzilla – Bug 1176105
Enable Squid systemd notify support
Last modified: 2020-09-14 08:25:59 UTC
Squid 4.11 added systemd notify support (it was broken, fixed in 4.12). https://github.com/squid-cache/squid/commit/62f38c153d4455525353f13c25f54cd2f4423aff https://github.com/squid-cache/squid/commit/c26cd1cb6a60ff196ef13c00e82576d3bfeb2e30 squid.spec needs to pull in systemd devel packages (BuildRequires: pkgconfig(libsystemd) + pkgconfig(systemd) I think). Then squid.service needs: - Type=notify instead of Type=forking - ExecStart= with squid --foreground - NotifyAccess=all (signal sent by worker process) Please also add KillMode=mixed to avoid systemd messing up with Squid children at shutdown.