Add flatpak dump timer
This commit is contained in:
parent
d74f91cefa
commit
316be04712
9
base/.config/systemd/user/flatpak-dump.service
Normal file
9
base/.config/systemd/user/flatpak-dump.service
Normal file
@ -0,0 +1,9 @@
|
||||
# vim:ft=systemd:
|
||||
[Unit]
|
||||
Description=Flatpak manifest backup service
|
||||
|
||||
[Service]
|
||||
ExecStart=bash -c 'flatpak list --columns=application --app > $HOME/.backup/flatpak-latest.txt'
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
10
base/.config/systemd/user/flatpak-dump.timer
Normal file
10
base/.config/systemd/user/flatpak-dump.timer
Normal file
@ -0,0 +1,10 @@
|
||||
# vim:ft=systemd:
|
||||
[Unit]
|
||||
Description=Flatpak manifest backup timer
|
||||
|
||||
[Timer]
|
||||
Persistent=true
|
||||
OnCalendar=*:0/15
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in New Issue
Block a user