summaryrefslogtreecommitdiff
path: root/systemd/CMakeLists.txt
diff options
context:
space:
mode:
authorsangwan.kwon <sangwan.kwon@samsung.com>2016-04-04 13:24:17 +0900
committersangwan.kwon <sangwan.kwon@samsung.com>2016-05-11 10:46:37 +0900
commit0e0c941196c0dc23eee6247a5182f6851e45ff48 (patch)
tree26b1c19e09d8b3f3239ac94bfdcacd7f8f49405e /systemd/CMakeLists.txt
parente05626bc306e8cf9d57604fd1e8b9d540b68e6cd (diff)
downloadcert-checker-0e0c941196c0dc23eee6247a5182f6851e45ff48.tar.gz
cert-checker-0e0c941196c0dc23eee6247a5182f6851e45ff48.tar.bz2
cert-checker-0e0c941196c0dc23eee6247a5182f6851e45ff48.zip
Implement on-demand style about server-sideref/for/tizen
[AS-IS] * cert-checker was daemon. [TO-BE] * Change to on-demand style. * cert-svc call cert-checker. * Add common library. Change-Id: Idab160e6103cf62299b97a5485a767de9831d614 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Diffstat (limited to 'systemd/CMakeLists.txt')
-rw-r--r--systemd/CMakeLists.txt17
1 files changed, 13 insertions, 4 deletions
diff --git a/systemd/CMakeLists.txt b/systemd/CMakeLists.txt
index 982fe1d..0b25467 100644
--- a/systemd/CMakeLists.txt
+++ b/systemd/CMakeLists.txt
@@ -1,4 +1,13 @@
-INSTALL(FILES
- ${PROJECT_SOURCE_DIR}/systemd/cert-checker.service
- DESTINATION
- ${SYSTEMD_UNIT_DIR})
+CONFIGURE_FILE(
+ ${SERVICE_NAME}.socket.in
+ ${SERVICE_NAME}.socket @ONLY)
+CONFIGURE_FILE(
+ ${SERVICE_NAME}.service.in
+ ${SERVICE_NAME}.service @ONLY)
+
+INSTALL(
+ FILES
+ ${SERVICE_NAME}.socket
+ ${SERVICE_NAME}.service
+ DESTINATION
+ ${SYSTEMD_UNIT_DIR})