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:
parent
a5dff5b799
commit
18f3c1fb55
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue