diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -63,6 +63,7 @@ char *portspec = DEFAULT_SOCKET; /* Communication socket specification */ int force_remove; /* Remove local communication socket if it already exists */ int foreground; /* Stay in foreground */ +int single_process_option; /* Run in single process mode. */ unsigned long source_address = INADDR_ANY; /* Source address for TCP connections */ char *syslog_tag; /* Tag to mark syslog entries with. */ @@ -907,6 +908,7 @@ enum mailfromd_option { OPTION_POSTMASTER_EMAIL, OPTION_PREDICT_NEXT, OPTION_SHOW_DEFAULTS, + OPTION_SINGLE_PROCESS, OPTION_SOURCE_INFO, OPTION_SYSLOG, OPTION_TIME_FORMAT, @@ -988,6 +990,8 @@ static struct argp_option options[] = { GRP+1 }, { "foreground", OPTION_FOREGROUND, NULL, 0, N_("Stay in foreground"), GRP+1 }, + { "single-process", OPTION_SINGLE_PROCESS, NULL, 0, + N_("Run in single-process mode"), GRP+1 }, { "pidfile", OPTION_PIDFILE, N_("FILE"), 0, N_("Set pidfile name"), GRP+1 }, { "user", 'u', N_("NAME"), 0, @@ -1309,6 +1313,10 @@ parse_opt (int key, char *arg, struct argp_state *state) need_config = 0; break; + case OPTION_SINGLE_PROCESS: + single_process_option = 1; + break; + case OPTION_SOURCE_INFO: set_option("source-info", "yes", 1); break; |