add time set and sync dependencies and remove orphaned flatpaks
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user