Mercurial > dovecot > core-2.2
changeset 11318:ae84eb604f84 HEAD
master: Create the login <-> master notify file into base_dir instead of /tmp.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 18 May 2010 19:22:30 +0200 |
parents | 4ba05c3702be |
children | fb6bc399f5c3 |
files | src/master/service-monitor.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);