Trigger mail just on failure

This commit is contained in:
Kevin Veen-Birkenbach 2022-04-05 18:24:31 +02:00
parent 155fce82e1
commit 0974c1d6f2

View File

@ -1,7 +1,6 @@
[Unit]
Description=Check btrfs status
OnFailure=systemd-email@%n.service
OnSuccess=systemd-email@%n.service
[Service]
Type=oneshot