[CP] add telemetry in rpm install and systemd deploy
This commit is contained in:
@ -67,6 +67,9 @@ if (OB_BUILD_OPENSOURCE)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tools/rpm/systemd/profile/oceanbase-service.sh.template
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/rpm/systemd/profile/oceanbase-service.sh
|
||||
@ONLY)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tools/rpm/systemd/profile/telemetry.sh.template
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/rpm/systemd/profile/telemetry.sh
|
||||
@ONLY)
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tools/rpm/systemd/profile/post_install.sh.template
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/rpm/systemd/profile/post_install.sh
|
||||
@ -140,6 +143,7 @@ install(FILES
|
||||
tools/rpm/systemd/profile/post_install.sh
|
||||
tools/rpm/systemd/profile/post_uninstall.sh
|
||||
tools/rpm/systemd/profile/pre_uninstall.sh
|
||||
tools/rpm/systemd/profile/telemetry.sh
|
||||
DESTINATION profile
|
||||
COMPONENT server)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user