diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-07-23 18:08:16 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-07-23 18:08:16 +0200 |
commit | 77474b9416830a83551453b3a857cc9ed6674267 (patch) | |
tree | db3efc1c6dfc5e860d4bc94622df91dfab0cc08b /systemd/cynara-agent.socket.in | |
parent | 15011a8739849e703ced1baae2fd15e34650bd96 (diff) |
Install agent socket for systemd
Change-Id: I838788b71908a287fe45c59ed51c20a3f8007a70
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'systemd/cynara-agent.socket.in')
-rw-r--r-- | systemd/cynara-agent.socket.in | 15 |
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 |