Switched to custom update service and timer. Also activated unlock-wallet service
This commit is contained in:
8
files/systemd/system/bootc-fetch-updates.service
Normal file
8
files/systemd/system/bootc-fetch-updates.service
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Download bootc updates
|
||||||
|
Documentation=man:bootc(8)
|
||||||
|
ConditionPathExists=/run/ostree-booted
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/bootc update --quiet
|
12
files/systemd/system/bootc-fetch-updates.timer
Normal file
12
files/systemd/system/bootc-fetch-updates.timer
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Download bootc updates
|
||||||
|
Documentation=man:bootc(8)
|
||||||
|
ConditionPathExists=/run/ostree-booted
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=15min
|
||||||
|
OnUnitInactiveSec=8h
|
||||||
|
RandomizedDelaySec=2h
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
@@ -11,7 +11,7 @@ modules:
|
|||||||
- type: systemd
|
- type: systemd
|
||||||
system:
|
system:
|
||||||
enabled:
|
enabled:
|
||||||
- bootc-fetch-apply-updates.timer
|
- bootc-fetch-updates.timer
|
||||||
- podman-auto-update.timer
|
- podman-auto-update.timer
|
||||||
- flatpak-system-update.timer
|
- flatpak-system-update.timer
|
||||||
- notify-update.service
|
- notify-update.service
|
||||||
@@ -19,6 +19,7 @@ modules:
|
|||||||
enabled:
|
enabled:
|
||||||
- podman-auto-update.timer
|
- podman-auto-update.timer
|
||||||
- flatpak-user-update.timer
|
- flatpak-user-update.timer
|
||||||
|
- unlock-wallet.service
|
||||||
|
|
||||||
- type: dnf
|
- type: dnf
|
||||||
install:
|
install:
|
||||||
|
Reference in New Issue
Block a user