add-more-system-apps #10
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
|
5
files/systemd/system/flatpak-system-update.service
Normal file
5
files/systemd/system/flatpak-system-update.service
Normal file
@@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Update flatpaks
|
||||
|
||||
[Service]
|
||||
ExecStart=flatpak update --noninteractive
|
9
files/systemd/system/flatpak-system-update.timer
Normal file
9
files/systemd/system/flatpak-system-update.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Update flatpak
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
OnCalendar=daily
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
5
files/systemd/user/flatpak-user-update.service
Normal file
5
files/systemd/user/flatpak-user-update.service
Normal file
@@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Update flatpaks
|
||||
|
||||
[Service]
|
||||
ExecStart=flatpak update --noninteractive
|
9
files/systemd/user/flatpak-user-update.timer
Normal file
9
files/systemd/user/flatpak-user-update.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Update flatpak
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
OnCalendar=daily
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@@ -7,23 +7,20 @@ modules:
|
||||
packages:
|
||||
- ublue-os-udev-rules
|
||||
- ublue-os-signing
|
||||
|
||||
- type: dnf
|
||||
repos:
|
||||
copr:
|
||||
- ublue-os/bling
|
||||
install:
|
||||
packages:
|
||||
- ublue-update
|
||||
|
||||
- type: script
|
||||
scripts:
|
||||
- addimageinfo.sh
|
||||
|
||||
- type: systemd
|
||||
system:
|
||||
enabled:
|
||||
- bootc-fetch-updates.timer
|
||||
- flatpak-system-update.timer
|
||||
user:
|
||||
enabled:
|
||||
- unlock-kwallet.service
|
||||
- flatpak-user-update.timer
|
||||
|
||||
- type: dnf
|
||||
install:
|
||||
|
Reference in New Issue
Block a user