summaryrefslogtreecommitdiff
path: root/etc/systemd/system/paccache.service.d
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-03-05 01:08:48 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-03-05 01:08:48 -0800
commit2ecbb50ca8c09a37ccacc9bf083fba88fdcd6cef (patch)
tree95cda105abe276eea20e13b9fe746d90196e8f56 /etc/systemd/system/paccache.service.d
parente0d59201456b952562351436e3e4d993c96bf646 (diff)
init ia use ka config
/etc/.cfgl/config chagne to ia branch /etc/hostname change to xyzia hostname /etc/myconf/cfgl_meta change changed file meta /etc/systemd/network/default.network use ia network config instead /etc/systemd/system/paccache.service.d/10-remove-all.conf use pp config to save space on SSD root partition /home/xyz/.bashrc use another color for bash PS1 /home/xyz/.config/myconf/pacman_Qqne less package to install, to save space
Diffstat (limited to 'etc/systemd/system/paccache.service.d')
-rw-r--r--etc/systemd/system/paccache.service.d/10-remove-all.conf8
-rw-r--r--etc/systemd/system/paccache.service.d/20-remove-all-uninstalled.conf9
2 files changed, 8 insertions, 9 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
diff --git a/etc/systemd/system/paccache.service.d/20-remove-all-uninstalled.conf b/etc/systemd/system/paccache.service.d/20-remove-all-uninstalled.conf
deleted file mode 100644
index 38d3c2d0..00000000
--- a/etc/systemd/system/paccache.service.d/20-remove-all-uninstalled.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-[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
-# 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