Prevent nify-failure from calling itself
Some checks failed
Check Flake / check-flake (push) Has been cancelled
Some checks failed
Check Flake / check-flake (push) Has been cancelled
This commit is contained in:
@@ -9,6 +9,7 @@ in
|
||||
description = "Send ntfy alert for failed unit %i";
|
||||
wants = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
unitConfig.OnFailure = lib.mkForce "";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
EnvironmentFile = "/run/agenix/ntfy-token";
|
||||
|
||||
Reference in New Issue
Block a user