From 370338e8e75a4870cd4d9a650f22fcb56c0f1c94 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Tue, 5 Apr 2022 18:24:31 +0200 Subject: [PATCH] Trigger mail just on failure --- roles/native-btrfs-health-check/files/btrfs-health-check.service | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/native-btrfs-health-check/files/btrfs-health-check.service b/roles/native-btrfs-health-check/files/btrfs-health-check.service index 23b65736..ba2131a0 100644 --- a/roles/native-btrfs-health-check/files/btrfs-health-check.service +++ b/roles/native-btrfs-health-check/files/btrfs-health-check.service @@ -1,7 +1,6 @@ [Unit] Description=Check btrfs status OnFailure=systemd-email@%n.service -OnSuccess=systemd-email@%n.service [Service] Type=oneshot