configfile = bstrdup(CONFIG_FILE);
}
+ if (!foreground) {
+ daemon_start();
+ init_stack_dump(); /* set new pid */
+ }
+
config = new_config_parser();
parse_fd_config(config, configfile, M_ERROR_TERM);
terminate_filed(0);
}
- if (!foreground) {
- daemon_start();
- init_stack_dump(); /* set new pid */
- }
-
set_thread_concurrency(me->MaxConcurrentJobs + 10);
lmgr_init_thread(); /* initialize the lockmanager stack */