summaryrefslogtreecommitdiffstats
path: root/systemd/cynagora-agent.socket.in
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/cynagora-agent.socket.in')
-rw-r--r--systemd/cynagora-agent.socket.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/systemd/cynagora-agent.socket.in b/systemd/cynagora-agent.socket.in
new file mode 100644
index 0000000..a5e66b8
--- /dev/null
+++ b/systemd/cynagora-agent.socket.in
@@ -0,0 +1,15 @@
+[Socket]
+FileDescriptorName=agent
+ListenStream=@DEFAULT_SOCKET_DIR@/cynagora.agent
+SocketMode=0600
+SmackLabelIPIn=@
+SmackLabelIPOut=@
+
+Service=cynagora.service
+
+[Unit]
+Wants=cynagora.target
+Before=cynagora.target
+
+[Install]
+WantedBy=sockets.target