summaryrefslogtreecommitdiff
path: root/etc/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system')
-rw-r--r--etc/systemd/system/acme.sh.service.d/override.conf2
-rw-r--r--etc/systemd/system/opendmarc.service.d/override.conf4
-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
4 files changed, 8 insertions, 15 deletions
diff --git a/etc/systemd/system/acme.sh.service.d/override.conf b/etc/systemd/system/acme.sh.service.d/override.conf
deleted file mode 100644
index 722f60a6..00000000
--- a/etc/systemd/system/acme.sh.service.d/override.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[Service]
-ReadWritePaths=/etc/acme.sh /var/log/acme.sh /etc/postfix
diff --git a/etc/systemd/system/opendmarc.service.d/override.conf b/etc/systemd/system/opendmarc.service.d/override.conf
deleted file mode 100644
index 40ab443c..00000000
--- a/etc/systemd/system/opendmarc.service.d/override.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-# https://wiki.archlinux.org/title/OpenDMARC
-[Service]
-Group=
-Group=postfix
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..6aa29dc2
--- /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