From 1d6b871b08f5906ec2057330b00f21b11864fb19 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 1 Sep 2014 14:24:10 +0200 Subject: addow socket activation for pacserve and pacdbserve --- Makefile | 2 ++ systemd/pacdbserve.socket | 9 +++++++++ systemd/pacserve.socket | 9 +++++++++ 3 files changed, 20 insertions(+) create mode 100644 systemd/pacdbserve.socket create mode 100644 systemd/pacserve.socket diff --git a/Makefile b/Makefile index 18b6afc..f00a983 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,9 @@ 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 new file mode 100644 index 0000000..f8dc794 --- /dev/null +++ b/systemd/pacdbserve.socket @@ -0,0 +1,9 @@ +[Unit] +Conflicts=pacdbserve.service + +[Socket] +ListenStream=7079 +Accept=no + +[Install] +WantedBy=sockets.target diff --git a/systemd/pacserve.socket b/systemd/pacserve.socket new file mode 100644 index 0000000..941cb7c --- /dev/null +++ b/systemd/pacserve.socket @@ -0,0 +1,9 @@ +[Unit] +Conflicts=pacserve.service + +[Socket] +ListenStream=7078 +Accept=no + +[Install] +WantedBy=sockets.target -- cgit v1.2.3-70-g09d2