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