add a systemd timer to monthly clean cache (paccache -r)
This commit is contained in:
6
data/systemd/pamac-cleancache.service
Normal file
6
data/systemd/pamac-cleancache.service
Normal file
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Clean packages cache
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/paccache -rq
|
9
data/systemd/pamac-cleancache.timer
Normal file
9
data/systemd/pamac-cleancache.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Monthly clean packages cache
|
||||
|
||||
[Timer]
|
||||
OnCalendar=monthly
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user