Displaying 1 result from an estimated 1 matches for "master_instance_path".
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
...truct master_instance_list_iter *iter;
const struct master_instance *inst;
- const char *pidfile_path;
+ const char *instance_path, *pidfile_path;
bool show_config = FALSE;
int c;
@@ -71,7 +71,8 @@
doveadm_print_header_simple("running");
}
- list = master_instance_list_init(MASTER_INSTANCE_PATH);
+ instance_path = t_strconcat(doveadm_settings->state_dir, "/instances", NULL);
+ list = master_instance_list_init(instance_path);
iter = master_instance_list_iterate_init(list);
while ((inst = master_instance_iterate_list_next(iter)) != NULL) {
if (argv[0] != NULL &&...