/* Copyright (c) 2005-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "lib-signals.h"
#include "hostpid.h"
#include "restrict-access.h"
#include "master-interface.h"
#include "master-service-private.h"
#include "master-service-settings.h"
#include "log-error-buffer.h"
#include "log-connection.h"
#include "doveadm-connection.h"
#include <unistd.h>
bool verbose_proctitle;
char *global_log_prefix;
static void
{
}
static void main_init(void)
{
}
static void main_deinit(void)
{
}
{
/* kludge: normally FIFOs aren't counted as connections,
but here we want log process to stay open until all writers
have closed */
else {
return;
}
}
{
const char *error;
/* use log prefix and log to stderr until we've configured the real
logging */
if (master_getopt(master_service) > 0)
return FATAL_DEFAULT;
/* logging should never die if there are some clients */
main_init();
main_deinit();
return 0;
}