Peter9534
UBUniversal Blue
•Created by Peter9534 on 2/8/2025 in #🛟bazzite-help
automatic update
I have the following service to update fedora is there anything similar I can use for bazzite
echo "[Unit]
Description=Automatic Update
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/dnf update -y
TimeoutStopSec=180
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/autoupdate.service
echo "[Unit]
Description=Automatic Update Timer
[Timer]
OnBootSec=1h
OnUnitActiveSec=1h
[Install]
WantedBy=timers.target" > /etc/systemd/system/autoupdate.timer
echo "[Unit]
Description=Automatic Update
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/flatpak update --assumeyes --noninteractive --system
TimeoutStopSec=180
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/updateflatpak.service
echo "[Unit]
Description=Automatic flatpak Update Timer
[Timer]
OnBootSec=1h
OnUnitActiveSec=1h
[Install]
WantedBy=timers.target" > /etc/systemd/system/updateflatpak.timer
2 replies