summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorBartlomiej Grzelewski <b.grzelewski@samsung.com>2014-07-15 14:15:57 +0200
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>2014-09-12 14:58:50 +0200
commite085d930b3691ac83dd4a013d0575079cbb2609c (patch)
treeac406764daf91022c1450d9f27ba89062f944fed /systemd
parentcc966a1ddbeb2b98969b05182460b25a8c3b486a (diff)
downloadkey-manager-e085d930b3691ac83dd4a013d0575079cbb2609c.tar.gz
key-manager-e085d930b3691ac83dd4a013d0575079cbb2609c.tar.bz2
key-manager-e085d930b3691ac83dd4a013d0575079cbb2609c.zip
Add systemd configuration for ocsp service.
Change-Id: Id7ceda142619d38e8df08349fac4a1590ef55ef2
Diffstat (limited to 'systemd')
-rw-r--r--systemd/CMakeLists.txt1
-rw-r--r--systemd/central-key-manager-api-ocsp.socket14
2 files changed, 15 insertions, 0 deletions
diff --git a/systemd/CMakeLists.txt b/systemd/CMakeLists.txt
index 37a025c7..a0b88519 100644
--- a/systemd/CMakeLists.txt
+++ b/systemd/CMakeLists.txt
@@ -3,6 +3,7 @@ INSTALL(FILES
${CMAKE_SOURCE_DIR}/systemd/central-key-manager.target
${CMAKE_SOURCE_DIR}/systemd/central-key-manager-api-control.socket
${CMAKE_SOURCE_DIR}/systemd/central-key-manager-api-storage.socket
+ ${CMAKE_SOURCE_DIR}/systemd/central-key-manager-api-ocsp.socket
${CMAKE_SOURCE_DIR}/systemd/central-key-manager-echo.socket
DESTINATION
/usr/lib/systemd/system
diff --git a/systemd/central-key-manager-api-ocsp.socket b/systemd/central-key-manager-api-ocsp.socket
new file mode 100644
index 00000000..1d78a197
--- /dev/null
+++ b/systemd/central-key-manager-api-ocsp.socket
@@ -0,0 +1,14 @@
+[Socket]
+ListenStream=/tmp/.central-key-manager-api-ocsp.sock
+SockMode=0777
+SmackLabelIPIn=ckm::api-ocsp
+SmackLabelIPOut=@
+
+Service=central-key-manager.service
+
+[Unit]
+Wants=central-key-manager.target
+Before=central-key-manager.target
+
+[Install]
+WantedBy=sockets.target