summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-09-01 14:24:10 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-09-01 14:24:10 +0200
commit1d6b871b08f5906ec2057330b00f21b11864fb19 (patch)
tree691b1d59d9a5a722914db5cb90d2ef347d2eaefb /systemd
parent12c9d4c856293991f55c9b1a82bafabc549246bb (diff)
downloadpaccache-1d6b871b08f5906ec2057330b00f21b11864fb19.tar.gz
paccache-1d6b871b08f5906ec2057330b00f21b11864fb19.tar.zst
addow socket activation for pacserve and pacdbserve
Diffstat (limited to 'systemd')
-rw-r--r--systemd/pacdbserve.socket9
-rw-r--r--systemd/pacserve.socket9
2 files changed, 18 insertions, 0 deletions
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