Modify configuration path
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 19 Mar 2025 11:43:15 +0000 (20:43 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 19 Mar 2025 11:43:15 +0000 (20:43 +0900)
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/service_loader.cc

index 9d84c3611d4f23df63f51e9a75e1118402ac38fe..42692bd1fa5825ab65c250de6dd7e90e17227b89 100644 (file)
@@ -29,6 +29,7 @@
 namespace {
 
 constexpr const char kPathUnitedService[] = "/usr/share/united-service/";
+constexpr const char kConf[] = "/conf/";
 
 }  // namespace
 
@@ -109,7 +110,7 @@ void ServiceLoader::Shutdown() {
 }
 
 void ServiceLoader::LoadServices() {
-  const fs::path directory(kPathUnitedService + name_);
+  const fs::path directory(kPathUnitedService + name_ + kConf);
   for (auto const& entry : fs::directory_iterator(directory)) {
     if (entry.is_regular_file()) {
       auto file(entry.path());