nixos/mackerel-agent: fix pkgs

(cherry picked from commit ae94b60d54)
This commit is contained in:
Felix Buehler 2024-11-23 17:06:58 +01:00 committed by github-actions[bot]
parent db294f7c4d
commit 679f9fdf7c

View File

@ -98,7 +98,7 @@ in {
RuntimeDirectory = "mackerel-agent";
StateDirectory = "mackerel-agent";
ExecStart = "${pkgs.mackerel-agent}/bin/mackerel-agent supervise";
ExecStopPost = mkIf cfg.autoRetirement "${pkg.mackerel-agent}/bin/mackerel-agent retire -force";
ExecStopPost = mkIf cfg.autoRetirement "${pkgs.mackerel-agent}/bin/mackerel-agent retire -force";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
LimitNOFILE = mkDefault 65536;
LimitNPROC = mkDefault 65536;