From: Timo Sirainen Date: Tue, 18 May 2010 17:22:30 +0000 (+0200) Subject: master: Create the login <-> master notify file into base_dir instead of /tmp. X-Git-Tag: 2.0.beta6~212 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3005627bf2ed223194c2d08a8c1630769d048f69;p=thirdparty%2Fdovecot%2Fcore.git master: Create the login <-> master notify file into base_dir instead of /tmp. --HG-- branch : HEAD --- diff --git a/src/master/service-monitor.c b/src/master/service-monitor.c index 35a700a93b..1e9107699a 100644 --- a/src/master/service-monitor.c +++ b/src/master/service-monitor.c @@ -286,7 +286,8 @@ static int service_login_create_notify_fd(struct service *service) 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);