Added systemd integration, updated README
This commit is contained in:
@@ -75,7 +75,7 @@ LoginThrottler::onBadClientAttempt(const boost::asio::ip::address& address)
|
||||
|
||||
_attemptsInfo[address] = now.addSecs(3);
|
||||
|
||||
LMS_LOG(AUTH, INFO) << "Registering bad attempt for '" << clientAddress.to_string() << "'";
|
||||
LMS_LOG(AUTH, DEBUG) << "Registering bad attempt for '" << clientAddress.to_string() << "'";
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
+2
-2
@@ -43,8 +43,8 @@ std::vector<std::string> generateWtConfig(std::string execPath)
|
||||
std::vector<std::string> args;
|
||||
|
||||
const boost::filesystem::path wtConfigPath {getService<Config>()->getPath("working-dir") / "wt_config.xml"};
|
||||
const boost::filesystem::path wtLogFilePath {getService<Config>()->getPath("working-dir") / "lms.log"};
|
||||
const boost::filesystem::path wtAccessLogFilePath {getService<Config>()->getPath("working-dir") / "lms.access.log"};
|
||||
const boost::filesystem::path wtLogFilePath {getService<Config>()->getPath("log-file")};
|
||||
const boost::filesystem::path wtAccessLogFilePath {getService<Config>()->getPath("access-log-file")};
|
||||
|
||||
args.push_back(execPath);
|
||||
args.push_back("--config=" + wtConfigPath.string());
|
||||
|
||||
Reference in New Issue
Block a user