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
|
||||
system:
|
||||
enabled:
|
||||
- bootc-fetch-apply-updates.timer
|
||||
- bootc-fetch-updates.timer
|
||||
- podman-auto-update.timer
|
||||
- flatpak-system-update.timer
|
||||
- notify-update.service
|
||||
@@ -19,6 +19,7 @@ modules:
|
||||
enabled:
|
||||
- podman-auto-update.timer
|
||||
- flatpak-user-update.timer
|
||||
- unlock-wallet.service
|
||||
|
||||
- type: dnf
|
||||
install:
|
||||
|
Reference in New Issue
Block a user