Revert "remove user based timer; this is now deployed by ansible"
This reverts commit 56ece8c8e9.
This commit is contained in:
8
flatpak/.config/systemd/user/flatpak-automatic.service
Normal file
8
flatpak/.config/systemd/user/flatpak-automatic.service
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=flatpak Automatic Update
|
||||||
|
Documentation=man:flatpak(1)
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStartPre=/bin/sh -c 'until ping -c1 google.com; do sleep 1; done;'
|
||||||
|
ExecStart=/usr/bin/flatpak update -y
|
||||||
11
flatpak/.config/systemd/user/flatpak-automatic.timer
Normal file
11
flatpak/.config/systemd/user/flatpak-automatic.timer
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=flatpak Automatic Update Trigger
|
||||||
|
Documentation=man:flatpak(1)
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=1m
|
||||||
|
OnCalendar=*-*-* *:00:00
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
Reference in New Issue
Block a user