Files
wunker-os/files/bootc-update/bootc-fetch-apply-updates.service
Gerald Pinder 03a8d4c806 Fix notify-send
2025-03-26 23:40:17 -04:00

10 lines
424 B
Desktop File

[Unit]
Description=Apply bootc updates
Documentation=man:bootc(8)
ConditionPathExists=/run/ostree-booted
[Service]
Type=oneshot
# ExecStart=/usr/bin/bootc update --apply --quiet
ExecStart=/bin/bash -c '/usr/bin/bootc update --quiet && /usr/bin/notify-send -a BlueBuild "Update Installed" "Reboot to apply updates" || /usr/bin/notify-send -u critical -a BlueBuild "ERROR: UPDATE FAILED" "Update failed to download/install"'