diff options
author | Christian Hesse <mail@eworm.de> | 2014-09-01 14:24:10 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-09-01 14:24:10 +0200 |
commit | 1d6b871b08f5906ec2057330b00f21b11864fb19 (patch) | |
tree | 691b1d59d9a5a722914db5cb90d2ef347d2eaefb | |
parent | 12c9d4c856293991f55c9b1a82bafabc549246bb (diff) | |
download | pacredir-1d6b871b08f5906ec2057330b00f21b11864fb19.tar.gz pacredir-1d6b871b08f5906ec2057330b00f21b11864fb19.tar.zst |
addow socket activation for pacserve and pacdbserve
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | systemd/pacdbserve.socket | 9 | ||||
-rw-r--r-- | systemd/pacserve.socket | 9 |
3 files changed, 20 insertions, 0 deletions
@@ -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 |