dovecot-2.0: master: Create the login <-> master notify file int...

dovecot at dovecot.org dovecot at dovecot.org
Tue May 18 20:22:34 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/ae84eb604f84
changeset: 11318:ae84eb604f84
user:      Timo Sirainen <tss at iki.fi>
date:      Tue May 18 19:22:30 2010 +0200
description:
master: Create the login <-> master notify file into base_dir instead of /tmp.

diffstat:

 src/master/service-monitor.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 4ba05c3702be -r ae84eb604f84 src/master/service-monitor.c
--- a/src/master/service-monitor.c	Tue May 18 10:07:58 2010 +0200
+++ b/src/master/service-monitor.c	Tue May 18 19:22:30 2010 +0200
@@ -286,7 +286,8 @@
 		string_t *prefix = t_str_new(128);
 		const char *path;
 
-		str_append(prefix, "/tmp/dovecot-master");
+		str_append(prefix, service->set->master_set->base_dir);
+		str_append(prefix, "/login-master-notify");
 
 		fd = safe_mkstemp(prefix, 0600, (uid_t)-1, (gid_t)-1);
 		path = str_c(prefix);


More information about the dovecot-cvs mailing list