dovecot-2.0: lib-master: Execute doveconf with -f service=, not ...

dovecot at dovecot.org dovecot at dovecot.org
Fri Sep 4 19:38:07 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/3e20e23154e0
changeset: 9863:3e20e23154e0
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Sep 04 12:38:00 2009 -0400
description:
lib-master: Execute doveconf with -f service=, not -p parameter.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-master/master-service-settings.c |    4 ++--

diffs (14 lines):

diff -r 864693ced870 -r 3e20e23154e0 src/lib-master/master-service-settings.c
--- a/src/lib-master/master-service-settings.c	Thu Sep 03 17:33:40 2009 -0400
+++ b/src/lib-master/master-service-settings.c	Fri Sep 04 12:38:00 2009 -0400
@@ -84,8 +84,8 @@ master_service_exec_config(struct master
 	/* @UNSAFE */
 	conf_argv = t_new(const char *, 6 + (service->argc + 1) + 1);
 	conf_argv[0] = DOVECOT_CONFIG_BIN_PATH;
-	conf_argv[1] = "-p";
-	conf_argv[2] = service->name;
+	conf_argv[1] = "-f";
+	conf_argv[2] = t_strconcat("service=", service->name, NULL);
 	conf_argv[3] = "-c";
 	conf_argv[4] = service->config_path;
 	conf_argv[5] = "-e";


More information about the dovecot-cvs mailing list