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