From cc5adf4cb79c92993fabfe09e75dfadb7d4c9665 Mon Sep 17 00:00:00 2001 From: Joe Kirchoff Date: Tue, 22 Mar 2022 11:47:38 -0700 Subject: Enable Horde compute code on Linux & Mac (#61) --- zenserver/config.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'zenserver/config.cpp') diff --git a/zenserver/config.cpp b/zenserver/config.cpp index adb079d83..b7fc18b4e 100644 --- a/zenserver/config.cpp +++ b/zenserver/config.cpp @@ -652,6 +652,11 @@ ParseConfigFile(const std::filesystem::path& Path, ZenServerOptions& ServerOptio } } + if (sol::optional ExecConfig = lua["exec"]) + { + ServerOptions.ExecServiceEnabled = ExecConfig->get_or("enable", ServerOptions.ExecServiceEnabled); + } + if (sol::optional ComputeConfig = lua["compute"]) { ServerOptions.ComputeServiceEnabled = ComputeConfig->get_or("enable", ServerOptions.ComputeServiceEnabled); -- cgit v1.2.3