diff options
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/CMakeLists.txt | 8 | ||||
-rw-r--r-- | systemd/webappenc-initializer.service.in | 12 |
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 |