diff options
-rw-r--r-- | plugins/chrony/CMakeLists.txt | 3 | ||||
-rw-r--r-- | plugins/chrony/chrony.in.json | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/chrony/CMakeLists.txt b/plugins/chrony/CMakeLists.txt index a66a1965..5a666284 100644 --- a/plugins/chrony/CMakeLists.txt +++ b/plugins/chrony/CMakeLists.txt @@ -13,4 +13,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/README ${CMAKE_CURRENT_BINARY_DIR}/ch install (FILES ${CMAKE_CURRENT_BINARY_DIR}/chrony.README DESTINATION ${DOC_INSTALL_DIR}/plugins) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/chrony.in.json ${CMAKE_CURRENT_BINARY_DIR}/chrony @ONLY) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/chrony DESTINATION ${PLUGIN_SEGMENT_INSTALL_PATH}) + endif(chrony_plugin) diff --git a/plugins/chrony/chrony.in.json b/plugins/chrony/chrony.in.json new file mode 100644 index 00000000..8bd53518 --- /dev/null +++ b/plugins/chrony/chrony.in.json @@ -0,0 +1,5 @@ +{ + "name" : "Chrony plugin", + "path" : "@PLUGIN_INSTALL_PATH@/chrony.so", + "enabled" : true +} |