Attempt to utilize bling module ublue-update instead of personal systemd units.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=Monitor bootc for status changes
|
||||
Documentation=man:bootc-status-updated.path(5)
|
||||
|
||||
[Path]
|
||||
PathExists=/tmp/hydro-os-updated
|
||||
Unit=bootc-status-updated.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@@ -1,4 +0,0 @@
|
||||
[Unit]
|
||||
Description=Target for bootc status changes
|
||||
Documentation=man:bootc-status-updated.target(5)
|
||||
StopWhenUnneeded=true
|
@@ -1,5 +0,0 @@
|
||||
[Unit]
|
||||
Description=Update flatpaks
|
||||
|
||||
[Service]
|
||||
ExecStart=flatpak update --noninteractive
|
@@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=Update flatpak
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
OnCalendar=daily
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=Notify the user when the next update has been downloaded.
|
||||
# order after update has been applied
|
||||
After=bootc-status-updated.target
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
ExecStart=/usr/bin/systemd-run --user notify-send 'Update Downloaded!' 'A new update has been downloaded! Please restart to apply update!'
|
||||
|
||||
[Install]
|
||||
WantedBy=bootc-status-updated.target
|
Reference in New Issue
Block a user