/* Copyright (c) 2011-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "restrict-access.h"
#include "mail-storage-service.h"
#include "mail-storage-settings.h"
#include "master-service.h"
#include "master-service-settings.h"
#include "master-connection.h"
{
if (master_conn != NULL) {
i_error("indexer-worker must be configured with client_limit=1");
return;
}
}
static void drop_privileges(void)
{
const char *error;
/* by default we don't drop any privileges, but keep running as root. */
/* open config connection before dropping privileges */
}
}
{
int c;
while ((c = master_getopt(master_service)) > 0) {
switch (c) {
case 'D':
break;
default:
return FATAL_DEFAULT;
}
}
if (master_conn != NULL)
return 0;
}