Files
wunker-os/files/bootc-update/bootc-fetch-apply-updates.service
2025-03-24 00:33:59 -04:00

10 lines
406 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 && notify-send -a BlueBuild "Update Installed" "Reboot to apply updates" || notify-send -u critical -a BlueBuild "ERROR: UPDATE FAILED" "Update failed to download/install"'