0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

services/squid: explicit usage of coreutils' kill on ExecReload

This commit is contained in:
joris 2023-11-17 13:55:21 +01:00
parent a5dff5b799
commit 18f3c1fb55

View file

@ -176,7 +176,7 @@ in
serviceConfig = {
PIDFile="/run/squid.pid";
ExecStart = "${cfg.package}/bin/squid --foreground -YCs -f ${squidConfig}";
ExecReload="kill -HUP $MAINPID";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
KillMode="mixed";
NotifyAccess="all";
};