working commit

This commit is contained in:
2026-05-19 13:43:20 +02:00
parent 498a3867fb
commit 1566e0a502
10 changed files with 399 additions and 852 deletions
+3 -2
View File
@@ -3,14 +3,15 @@
#include <string>
#include <cstring>
#include <defines.hpp>
#include <tservice.hpp>
#include <uxlogger.hpp>
#include <srvconfig.hpp>
std::expected<void, std::string> Run() {
ServConfig config;
auto readRes = config.Read("helmetsrv.conf");
std::string confdir(SRV_CONFDIR);
auto readRes = config.Read(confdir + "/" + "helmetsrv.conf");
if (!readRes) {
return std::unexpected("Read config error: " + readRes.error());
}