summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorDongsun Lee <ds73.lee@samsung.com>2015-05-26 09:42:38 +0900
committerDongsun Lee <ds73.lee@samsung.com>2015-07-24 10:58:41 +0900
commit7abaa019637e0a534969d304cae7f7f43c4ab0a6 (patch)
tree9a2bb4f95b6c50ac39394abf87022d4a1a95fef2 /systemd
parentd6556f8d8b13aadc9907b6609b773e29d2e22e7a (diff)
downloadlibwebappenc-7abaa019637e0a534969d304cae7f7f43c4ab0a6.tar.gz
libwebappenc-7abaa019637e0a534969d304cae7f7f43c4ab0a6.tar.bz2
libwebappenc-7abaa019637e0a534969d304cae7f7f43c4ab0a6.zip
initial version
Change-Id: Ibb7891bee67bdd82f34187f5da2fc3c4bbfa8fcd Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
Diffstat (limited to 'systemd')
-rw-r--r--systemd/CMakeLists.txt8
-rw-r--r--systemd/webappenc-initializer.service.in12
2 files changed, 20 insertions, 0 deletions
diff --git a/systemd/CMakeLists.txt b/systemd/CMakeLists.txt
new file mode 100644
index 0000000..bf7bb79
--- /dev/null
+++ b/systemd/CMakeLists.txt
@@ -0,0 +1,8 @@
+CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/systemd/webappenc-initializer.service.in
+ ${CMAKE_SOURCE_DIR}/systemd/webappenc-initializer.service @ONLY)
+
+INSTALL(FILES
+ ${CMAKE_SOURCE_DIR}/systemd/webappenc-initializer.service
+ DESTINATION
+ ${SYSTEMD_UNIT_DIR}
+)
diff --git a/systemd/webappenc-initializer.service.in b/systemd/webappenc-initializer.service.in
new file mode 100644
index 0000000..e9441d8
--- /dev/null
+++ b/systemd/webappenc-initializer.service.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=Import APP DEKs for Preloaded Web App Decryption
+DefaultDependencies=no
+Requires=central-key-manager.service
+After=central-key-manager.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/wae_initializer
+
+[Install]
+WantedBy=multi-user.target