summaryrefslogtreecommitdiff
path: root/etc/systemd/system/paccache.service.d/10-remove-all.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system/paccache.service.d/10-remove-all.conf')
-rw-r--r--etc/systemd/system/paccache.service.d/10-remove-all.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/systemd/system/paccache.service.d/10-remove-all.conf b/etc/systemd/system/paccache.service.d/10-remove-all.conf
new file mode 100644
index 00000000..a33a36a2
--- /dev/null
+++ b/etc/systemd/system/paccache.service.d/10-remove-all.conf
@@ -0,0 +1,8 @@
+[Service]
+# may need `sudo systemctl daemon-reload` afterward
+# need a line of `ExecStart=` to clear the list first,
+# more about drop-in dir see `man systemd.unit`, more about ExecStart see `man systemd.service`
+# https://wiki.archlinux.org/title/Systemd#Drop-in_files
+# https://wiki.archlinux.org/title/Systemd#Examples
+ExecStart=
+ExecStart=/usr/bin/paccache -rk0