# HG changeset patch # User Timo Sirainen # Date 1288798060 0 # Node ID a69ad6b69481f18450c605ed4e329c862ee9b412 # Parent 7b1aae5f7bd55a0e8084d99272132d5083f20cce director: Show number of connections in process title if verbose_proctitle=yes 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) {