Add digwatch.conf to package, install to /etc

This commit is contained in:
Henri DF
2016-03-31 20:47:00 -07:00
parent 8546e970f0
commit 0cfb89ffb4
2 changed files with 5 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ if(NOT DEFINED DIGWATCH_VERSION)
endif()
if(NOT DEFINED DIR_ETC)
set(DIR_ETC "${CMAKE_INSTALL_PREFIX}/etc")
set(DIR_ETC "/etc")
endif()
set(DRAIOS_DEBUG_FLAGS "-D_DEBUG")
@@ -144,6 +144,7 @@ add_subdirectory(${SYSDIG_DIR}/driver ${PROJECT_BINARY_DIR}/driver)
add_subdirectory(${SYSDIG_DIR}/userspace/libscap ${PROJECT_BINARY_DIR}/userspace/libscap)
add_subdirectory(${SYSDIG_DIR}/userspace/libsinsp ${PROJECT_BINARY_DIR}/userspace/libsinsp)
add_subdirectory(rules)
add_subdirectory(userspace/digwatch)

3
rules/CMakeLists.txt Normal file
View File

@@ -0,0 +1,3 @@
install(FILES digwatch.conf
DESTINATION "${DIR_ETC}")