This is needed for updating process title during initialization before
settings are read.
/* getenv(MASTER_CONFIG_FILE_ENV) provides path to configuration file/socket */
#define MASTER_CONFIG_FILE_ENV "CONFIG_FILE"
+/* getenv(MASTER_VERBOSE_PROCTITLE_ENV) is non-NULL if verbose_proctitle=yes.
+ This is used by lib-master during initialization. */
+#define MASTER_VERBOSE_PROCTITLE_ENV "VERBOSE_PROCTITLE"
+
/* getenv(MASTER_DOVECOT_VERSION_ENV) provides master's version number
(unset if version_ignore=yes) */
#define MASTER_DOVECOT_VERSION_ENV "DOVECOT_VERSION"
env_put(MY_HOSTNAME_ENV, my_hostname);
env_put(MY_HOSTDOMAIN_ENV, hostdomain);
+ if (service_set->verbose_proctitle)
+ env_put(MASTER_VERBOSE_PROCTITLE_ENV, "1");
if (!service->set->master_set->version_ignore)
env_put(MASTER_DOVECOT_VERSION_ENV, PACKAGE_VERSION);