fix
This commit is contained in:
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