]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
master: Create the login <-> master notify file into base_dir instead of /tmp.
authorTimo Sirainen <tss@iki.fi>
Tue, 18 May 2010 17:22:30 +0000 (19:22 +0200)
committerTimo Sirainen <tss@iki.fi>
Tue, 18 May 2010 17:22:30 +0000 (19:22 +0200)
--HG--
branch : HEAD

src/master/service-monitor.c

index 35a700a93bd6e0f1952840937187f03cd55f2ed7..1e9107699aeccafe984b76e90695fd442f0c3c68 100644 (file)
@@ -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);