Merge pull request #268110 from tyxieblub/squid-service

This commit is contained in:
Artturi 2023-11-19 23:32:10 +02:00 committed by GitHub
commit 0bd183e065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";
};