summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--systemd/paccache.service7
-rw-r--r--systemd/pacredir.service2
3 files changed, 3 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 264043b..16e8280 100644
--- a/Makefile
+++ b/Makefile
@@ -57,10 +57,9 @@ install-bin: pacredir
$(INSTALL) -D -m0644 pacman/paccache $(DESTDIR)/etc/pacman.d/paccache
$(INSTALL) -D -m0644 avahi/pacserve.service $(DESTDIR)/etc/avahi/services/pacserve.service
$(INSTALL) -D -m0644 avahi/pacdbserve.service $(DESTDIR)/etc/avahi/services/pacdbserve.service
- $(INSTALL) -D -m0644 systemd/paccache.service $(DESTDIR)$(PREFIX)/lib/systemd/system/paccache.service
- $(INSTALL) -D -m0644 systemd/pacserve.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacserve.service
$(INSTALL) -D -m0644 systemd/pacdbserve.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacdbserve.service
$(INSTALL) -D -m0644 systemd/pacredir.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacredir.service
+ $(INSTALL) -D -m0644 systemd/pacserve.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacserve.service
$(INSTALL) -D -m0644 initcpio/hooks/paccache $(DESTDIR)$(PREFIX)/lib/initcpio/hooks/paccache
$(INSTALL) -D -m0644 initcpio/install/paccache $(DESTDIR)$(PREFIX)/lib/initcpio/install/paccache
$(INSTALL) -D -m0644 dhcpcd/80-pacredir $(DESTDIR)$(PREFIX)/lib/dhcpcd/dhcpcd-hooks/80-pacredir
diff --git a/systemd/paccache.service b/systemd/paccache.service
deleted file mode 100644
index 3d0772c..0000000
--- a/systemd/paccache.service
+++ /dev/null
@@ -1,7 +0,0 @@
-[Unit]
-Description=Redirect pacman requests via avahi service
-
-[Install]
-Also=pacredir.service
-Also=pacserve.service
-Also=pacdbserve.service
diff --git a/systemd/pacredir.service b/systemd/pacredir.service
index bc5a13f..d0189ea 100644
--- a/systemd/pacredir.service
+++ b/systemd/pacredir.service
@@ -15,3 +15,5 @@ NoNewPrivileges=on
[Install]
WantedBy=multi-user.target
+Also=pacserve.service
+Also=pacdbserve.service