dovecot-2.0: director: Show number of connections in process tit...

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 3 17:31:55 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/a69ad6b69481
changeset: 12374:a69ad6b69481
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 03 15:27:40 2010 +0000
description:
director: Show number of connections in process title if verbose_proctitle=yes

diffstat:

 src/director/main.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 7b1aae5f7bd5 -r a69ad6b69481 src/director/main.c
--- a/src/director/main.c	Wed Nov 03 15:26:40 2010 +0000
+++ b/src/director/main.c	Wed Nov 03 15:27:40 2010 +0000
@@ -186,13 +186,15 @@
 		&director_setting_parser_info,
 		NULL
 	};
+	const enum master_service_flags service_flags =
+		MASTER_SERVICE_FLAG_NO_IDLE_DIE |
+		MASTER_SERVICE_FLAG_UPDATE_PROCTITLE;
 	unsigned int test_port = 0;
 	const char *error;
 	bool debug = FALSE;
 	int c;
 
-	master_service = master_service_init("director",
-					     MASTER_SERVICE_FLAG_NO_IDLE_DIE,
+	master_service = master_service_init("director", service_flags,
 					     &argc, &argv, "Dt:");
 	while ((c = master_getopt(master_service)) > 0) {
 		switch (c) {


More information about the dovecot-cvs mailing list