From 679f9fdf7c2414240397b7d1f72e0daeec3447dc Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 23 Nov 2024 17:06:58 +0100 Subject: [PATCH] nixos/mackerel-agent: fix pkgs (cherry picked from commit ae94b60d543bd178e2a5aeb8eed030d2d1fd6ce6) --- nixos/modules/services/monitoring/mackerel-agent.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/mackerel-agent.nix b/nixos/modules/services/monitoring/mackerel-agent.nix index d218c18c4354d..0908ea9ca68ec 100644 --- a/nixos/modules/services/monitoring/mackerel-agent.nix +++ b/nixos/modules/services/monitoring/mackerel-agent.nix @@ -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;