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