diff options
author | Simon Rettberg | 2016-03-22 14:57:06 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-03-22 14:57:06 +0100 |
commit | a632fcc54051b58b6c2bd59de0188136c356d579 (patch) | |
tree | 5593381df893ebd1e8a903f3dcfb0c4ddfcb3633 | |
parent | cmake: Don't fail setup if more than one server lib is missing (diff) | |
download | dnbd3-a632fcc54051b58b6c2bd59de0188136c356d579.tar.gz dnbd3-a632fcc54051b58b6c2bd59de0188136c356d579.tar.xz dnbd3-a632fcc54051b58b6c2bd59de0188136c356d579.zip |
[SERVER] Get rid of .sample for config files (saves you the rename orgy after install)
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | conf/alt-servers (renamed from conf/alt-servers.sample) | 0 | ||||
-rw-r--r-- | conf/server.conf (renamed from conf/server.conf.sample) | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 759fbcb..284e2c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,6 +188,6 @@ ENDIF() # Other install files # -FILE(GLOB conf_files "${CMAKE_CURRENT_SOURCE_DIR}/conf/*.sample" "${CMAKE_CURRENT_SOURCE_DIR}/conf/README.*") -INSTALL(FILES ${conf_files} DESTINATION etc/dnbd3/) +FILE(GLOB conf_files "${CMAKE_CURRENT_SOURCE_DIR}/conf/*") +INSTALL(FILES ${conf_files} DESTINATION /etc/dnbd3/) diff --git a/conf/alt-servers.sample b/conf/alt-servers index fd2f2ec..fd2f2ec 100644 --- a/conf/alt-servers.sample +++ b/conf/alt-servers diff --git a/conf/server.conf.sample b/conf/server.conf index 7ef10a3..c32d907 100644 --- a/conf/server.conf.sample +++ b/conf/server.conf @@ -21,6 +21,7 @@ clientTimeout=15000 ; Log related config [logging] ; log file path and name +; comment out to disable logging to file ; protip: use SIGUSR2 to reopen log file file=./dnbd3.log ; which type of messages to log to file |