[systemd] Add paru cache clean service
This commit is contained in:
1 parent
419eb3df6d
commit
f19c66fff2
3 files changed
+17
No files matched your search
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Clean paru AUR cache
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/paru -Sc --aur --noconfirm
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Clean paru AUR cache on timer
|
||||
|
||||
[Timer]
|
||||
OnCalendar=weekly
|
||||
AccuracySec=1h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -0,0 +1 @@
|
||||
/home/benq/.config/systemd/user/paru-cache.timer
|
||||
Reference in new issue
Block a user