mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-21 18:59:22 +01:00
parent
ab7480c00b
commit
1356fccd20
7
etc/systemd/system/flatpak-update.service
Normal file
7
etc/systemd/system/flatpak-update.service
Normal file
@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=install flatpak updates and uninstall unused flatpaks
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/flatpak update --assumeyes --noninteractive
|
||||
ExecStartPost=/usr/bin/flatpak uninstall --unused --assumeyes --noninteractive
|
11
etc/systemd/system/flatpak-update.timer
Normal file
11
etc/systemd/system/flatpak-update.timer
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=install flatpak updates and uninstall unused flatpaks daily
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 19:00:00
|
||||
OnBootSec=300
|
||||
RandomizedDelaySec=3h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue
Block a user