summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-04-28 22:56:18 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-04-28 22:56:18 +0200
commitfb49e5fdd62e4aec03bbf24a677e7bb6dcddc5ca (patch)
treec39b6d608f6674e00aeb952637986253e0311278
parent24ab5936629e735ff551f060a894fd93ad91470e (diff)
downloadpacredir-fb49e5fdd62e4aec03bbf24a677e7bb6dcddc5ca.tar.gz
pacredir-fb49e5fdd62e4aec03bbf24a677e7bb6dcddc5ca.tar.zst
drop unit file paccache.service
-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