mirror of https://github.com/Icinga/icinga2.git
Make ICINGA2_{USER,GROUP,COMMAND_USER,COMMAND_GROUP} variables overwritable.
Fixes #5257
This commit is contained in:
parent
751f3ad19b
commit
f67343967c
|
@ -28,10 +28,10 @@ endif()
|
|||
file(STRINGS icinga2.spec VERSION_LINE REGEX "^Version: ")
|
||||
string(REPLACE "Version: " "" ICINGA2_VERSION ${VERSION_LINE})
|
||||
|
||||
set(ICINGA2_USER "icinga")
|
||||
set(ICINGA2_GROUP "icinga")
|
||||
set(ICINGA2_COMMAND_USER "icinga")
|
||||
set(ICINGA2_COMMAND_GROUP "icingacmd")
|
||||
set(ICINGA2_USER "icinga" CACHE STRING "Icinga 2 user")
|
||||
set(ICINGA2_GROUP "icinga" CACHE STRING "Icinga 2 group")
|
||||
set(ICINGA2_COMMAND_USER "icinga" CACHE STRING "Icinga 2 command user")
|
||||
set(ICINGA2_COMMAND_GROUP "icingacmd" CACHE STRING "Icinga 2 command group")
|
||||
|
||||
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/COPYING" ICINGA2_LICENSE_GPL)
|
||||
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.Exceptions" ICINGA2_LICENSE_ADDITIONS)
|
||||
|
|
Loading…
Reference in New Issue