summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-05-29 16:21:21 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-05-29 16:21:21 -0700
commitf556627b8b5da191f12e964e2bb7f42bc721b902 (patch)
tree53f5c977acd9758fdf762e6b74cc10f15e9840ec /etc
parent69920e10f9442ccbd03384ef3d1bfbc7b3338223 (diff)
complete 10-remove-all.conf
Diffstat (limited to 'etc')
-rw-r--r--etc/systemd/system/paccache.service.d/10-remove-all.conf7
1 files changed, 3 insertions, 4 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
index 38d3c2d0..a33a36a2 100644
--- a/etc/systemd/system/paccache.service.d/10-remove-all.conf
+++ b/etc/systemd/system/paccache.service.d/10-remove-all.conf
@@ -1,9 +1,8 @@
[Service]
-# keep original `ExecStart=/usr/bin/paccache -r` while adding to the list
-# because I want the default behavior and also remove all uninstalled pacman package cache
# may need `sudo systemctl daemon-reload` afterward
-# if I want to clear the list first, I should do a line of `ExecStart=` first
+# 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=/usr/bin/paccache -ruk0
+ExecStart=
+ExecStart=/usr/bin/paccache -rk0