From 9fda39638acb2a49615476e41431258d28cda4ed Mon Sep 17 00:00:00 2001 From: Gerald Pinder <4626052+gmpinder@users.noreply.github.com> Date: Mon, 24 Mar 2025 00:33:59 -0400 Subject: [PATCH] Add failure notification --- files/bootc-update/bootc-fetch-apply-updates.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/bootc-update/bootc-fetch-apply-updates.service b/files/bootc-update/bootc-fetch-apply-updates.service index 41e2824..aefc36c 100644 --- a/files/bootc-update/bootc-fetch-apply-updates.service +++ b/files/bootc-update/bootc-fetch-apply-updates.service @@ -6,4 +6,4 @@ ConditionPathExists=/run/ostree-booted [Service] Type=oneshot # ExecStart=/usr/bin/bootc update --apply --quiet -ExecStart=/bin/bash -c '/usr/bin/bootc update --quiet && notify-send -u critical "Update Installed" "Reboot to apply updates"' +ExecStart=/bin/bash -c '/usr/bin/bootc update --quiet && notify-send -a BlueBuild "Update Installed" "Reboot to apply updates" || notify-send -u critical -a BlueBuild "ERROR: UPDATE FAILED" "Update failed to download/install"'