aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-09-04 13:57:59 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-09-04 13:57:59 +0200
commit03dacf3be228b0c3d48a6572d8ce6efbb7c917dd (patch)
treea9c218a47a23233c25d2715e764637cd92cb95dc
parent63b7617d6c48cc9406176c81f32a188ea6fc330b (diff)
downloadpaccache-03dacf3be228b0c3d48a6572d8ce6efbb7c917dd.tar.gz
paccache-03dacf3be228b0c3d48a6572d8ce6efbb7c917dd.tar.zst
Revert "addow socket activation for pacserve and pacdbserve"
The Arch Linux darkhttpd package [0] has a unit file for socket activation. Looks like this is wrong, darkhttpd does not support socket activation. [0] https://www.archlinux.org/packages/?name=darkhttpd
-rw-r--r--Makefile2
-rw-r--r--systemd/pacdbserve.socket9
-rw-r--r--systemd/pacserve.socket9
3 files changed, 0 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 149ca58..f56d221 100644
--- a/Makefile
+++ b/Makefile
@@ -48,9 +48,7 @@ install-bin: pacredir
$(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/pacserve.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacserve.service
- $(INSTALL) -D -m0644 systemd/pacserve.socket $(DESTDIR)$(PREFIX)/lib/systemd/system/pacserve.socket
$(INSTALL) -D -m0644 systemd/pacdbserve.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacdbserve.service
- $(INSTALL) -D -m0644 systemd/pacdbserve.socket $(DESTDIR)$(PREFIX)/lib/systemd/system/pacdbserve.socket
$(INSTALL) -D -m0644 systemd/pacredir.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacredir.service
$(INSTALL) -D -m0644 initcpio/hook/paccache $(DESTDIR)$(PREFIX)/lib/initcpio/hooks/paccache
$(INSTALL) -D -m0644 initcpio/install/paccache $(DESTDIR)$(PREFIX)/lib/initcpio/install/paccache
diff --git a/systemd/pacdbserve.socket b/systemd/pacdbserve.socket
deleted file mode 100644
index f8dc794..0000000
--- a/systemd/pacdbserve.socket
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Conflicts=pacdbserve.service
-
-[Socket]
-ListenStream=7079
-Accept=no
-
-[Install]
-WantedBy=sockets.target
diff --git a/systemd/pacserve.socket b/systemd/pacserve.socket
deleted file mode 100644
index 941cb7c..0000000
--- a/systemd/pacserve.socket
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Conflicts=pacserve.service
-
-[Socket]
-ListenStream=7078
-Accept=no
-
-[Install]
-WantedBy=sockets.target