Bug ID | 1176105 |
---|---|
Summary | Enable Squid systemd notify support |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | marcosfrm@gmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
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.