mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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 = {
|
serviceConfig = {
|
||||||
PIDFile="/run/squid.pid";
|
PIDFile="/run/squid.pid";
|
||||||
ExecStart = "${cfg.package}/bin/squid --foreground -YCs -f ${squidConfig}";
|
ExecStart = "${cfg.package}/bin/squid --foreground -YCs -f ${squidConfig}";
|
||||||
ExecReload="kill -HUP $MAINPID";
|
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||||
KillMode="mixed";
|
KillMode="mixed";
|
||||||
NotifyAccess="all";
|
NotifyAccess="all";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue