Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
namespace {
constexpr const char kPathUnitedService[] = "/usr/share/united-service/";
+constexpr const char kConf[] = "/conf/";
} // namespace
}
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());