add time set and sync dependencies and remove orphaned flatpaks

This commit is contained in:
2022-08-18 11:09:09 +02:00
parent a9afa9a11c
commit 49f3f7542b
2 changed files with 4 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ Description=flatpak Automatic Update
Documentation=man:flatpak(1) Documentation=man:flatpak(1)
[Service] [Service]
Type=simple Type=oneshot
ExecStartPre=nm-online ExecStartPre=nm-online
ExecStart=/usr/bin/flatpak update -y ExecStart=/usr/bin/flatpak update -y
ExecStart=/usr/bin/flatpak remove --unused -y

View File

@@ -1,6 +1,8 @@
[Unit] [Unit]
Description=flatpak Automatic Update Trigger Description=flatpak Automatic Update Trigger
Documentation=man:flatpak(1) Documentation=man:flatpak(1)
After=time-set.target
After=time-sync.target
[Timer] [Timer]
OnBootSec=1m OnBootSec=1m