fix
This commit is contained in:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
||||
rakuos-settings (1.1.2-1-1rakuos1) unstable; urgency=medium
|
||||
|
||||
* Fix for RakuOS Appstream info via timer
|
||||
|
||||
-- Tohur <tohur@rakuos.org> Wed, 23 Nov 2025 23:22:44 -0700
|
||||
|
||||
rakuos-settings (1.1.1-1-1rakuos1) unstable; urgency=medium
|
||||
|
||||
* Fix for RakuOS Appstream info
|
||||
|
||||
1
debian/postinst
vendored
1
debian/postinst
vendored
@@ -3,3 +3,4 @@
|
||||
set -e
|
||||
|
||||
systemctl enable pci-latency.service
|
||||
systemctl enable appstream-refresh.timer
|
||||
|
||||
6
usr/lib/systemd/system/appstream-refresh.service
Normal file
6
usr/lib/systemd/system/appstream-refresh.service
Normal file
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Refresh AppStream metadata cache
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/appstreamcli refresh --source=os
|
||||
10
usr/lib/systemd/system/appstream-refresh.timer
Normal file
10
usr/lib/systemd/system/appstream-refresh.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Run AppStream refresh every 15 minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=5m
|
||||
OnUnitActiveSec=30m
|
||||
Unit=appstream-refresh.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user