dovecot-2.2: dict: Show number of clients in process title
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 20 17:15:29 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/051505f9a5ae
changeset: 19324:051505f9a5ae
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 20 20:15:20 2015 +0300
description:
dict: Show number of clients in process title
diffstat:
src/dict/main.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r a26d8492614e -r 051505f9a5ae src/dict/main.c
--- a/src/dict/main.c Tue Oct 20 18:43:32 2015 +0300
+++ b/src/dict/main.c Tue Oct 20 20:15:20 2015 +0300
@@ -83,13 +83,16 @@
int main(int argc, char *argv[])
{
+ const enum master_service_flags service_flags =
+ MASTER_SERVICE_FLAG_UPDATE_PROCTITLE;
const struct setting_parser_info *set_roots[] = {
&dict_setting_parser_info,
NULL
};
const char *error;
- master_service = master_service_init("dict", 0, &argc, &argv, "");
+ master_service = master_service_init("dict", service_flags,
+ &argc, &argv, "");
if (master_getopt(master_service) > 0)
return FATAL_DEFAULT;
More information about the dovecot-cvs
mailing list