[dovecot-cvs] dovecot/src/imap main.c,1.73,1.74

cras at dovecot.org cras at dovecot.org
Wed Apr 12 14:42:59 EEST 2006


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv134/src/imap

Modified Files:
	main.c 
Log Message:
Added shutdown_clients setting to control if existing imap/pop3 processes
should be killed when master is.



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- main.c	9 Apr 2006 14:48:23 -0000	1.73
+++ main.c	12 Apr 2006 11:42:57 -0000	1.74
@@ -162,7 +162,7 @@
 		       dec2str(geteuid()), dec2str(getegid()));
 	}
 
-	if (getenv("LOG_TO_MASTER") != NULL) {
+	if (getenv("STDERR_CLOSE_SHUTDOWN") != NULL) {
 		/* If master dies, the log fd gets closed and we'll quit */
 		log_io = io_add(STDERR_FILENO, IO_ERROR,
 				log_error_callback, NULL);



More information about the dovecot-cvs mailing list