* Service overrides were created in invalid directories
* Config under /etc/faultd/services.conf.d was mandatory, but should be
optional
Change-Id: I6e0ae5070f9135082fa7c25a7f47e66e7925218f
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
char *service_override;
int ret;
- ret = asprintf(&location, "%s/%s.conf.d", dest_path, service_name);
+ ret = asprintf(&location, "%s/%s.d", dest_path, service_name);
if (ret == -1)
return -errno;
return ret;
}
- ret = load_config(FAULTD_CUSTOM_SERVICES_CONFIG_PATH, CONFIG_TYPE_DIR, 0,
+ ret = load_config(FAULTD_CUSTOM_SERVICES_CONFIG_PATH, CONFIG_TYPE_DIR, 1,
services_config);
if (ret) {
log_error("Unable to load services config %s", FAULTD_CUSTOM_SERVICES_CONFIG_PATH);