mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
moving config and plist to prefixed directory
This commit is contained in:
parent
c25bdfa2fd
commit
b4a2ca1afa
@ -145,10 +145,10 @@ add_dependencies(devel libosquery_basic)
|
||||
|
||||
# make install config files
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/tools/deployment/osquery.example.conf"
|
||||
DESTINATION "/var/osquery/" COMPONENT main)
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/osquery/" COMPONENT main)
|
||||
if(APPLE)
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/tools/deployment/com.facebook.osqueryd.plist"
|
||||
DESTINATION "/var/osquery/" COMPONENT main)
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/osquery/" COMPONENT main)
|
||||
else()
|
||||
install(PROGRAMS "${CMAKE_SOURCE_DIR}/tools/deployment/osqueryd.initd"
|
||||
DESTINATION "/etc/init.d/" RENAME "osqueryd" COMPONENT main)
|
||||
|
Loading…
Reference in New Issue
Block a user