diff options
| author | Manuel Bentele | 2020-10-22 19:00:52 +0200 |
|---|---|---|
| committer | Manuel Bentele | 2020-10-22 19:00:52 +0200 |
| commit | b5445d3fae2fca61ed036a4e88f061903965db7a (patch) | |
| tree | bf4770318a5679d41d8993ac8bb435b14f2dbda0 /pkg/config/CMakeLists.txt | |
| parent | [BUILD] add CMake targets to build binary and source packages with CPack (diff) | |
| download | dnbd3-b5445d3fae2fca61ed036a4e88f061903965db7a.tar.gz dnbd3-b5445d3fae2fca61ed036a4e88f061903965db7a.tar.xz dnbd3-b5445d3fae2fca61ed036a4e88f061903965db7a.zip | |
[BUILD] add systemd service file for dnbd3-server to installation targets
Diffstat (limited to 'pkg/config/CMakeLists.txt')
| -rw-r--r-- | pkg/config/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/config/CMakeLists.txt b/pkg/config/CMakeLists.txt new file mode 100644 index 0000000..1d553db --- /dev/null +++ b/pkg/config/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.10) + +# set the project name +project(dnbd3-config) + +# define all configuration files +set(DNBD3_CONFIG_FILES ${CMAKE_CURRENT_SOURCE_DIR}/alt-servers + ${CMAKE_CURRENT_SOURCE_DIR}/rpc.acl + ${CMAKE_CURRENT_SOURCE_DIR}/server.conf) + +# install configuration files into sample directory +install(FILES ${DNBD3_CONFIG_FILES} + DESTINATION /etc/dnbd3-server/sample + COMPONENT server) |
