This allows to remove the check in server.c.
server_cmdline_parser_config_file(cf, &conf, ¶ms);
conf.daemon_given = tmp;
}
- /* logfile */
- if (!conf.logfile_given && conf.daemon_given) {
- ret = -1;
- PARA_EMERG_LOG("fatal: daemon option, but no log file given\n");
- goto out;
- }
if (conf.logfile_given)
logfile = open_log(conf.logfile_arg);
ret = 1;
#~~~~~~~~~~~~~~~~
"run as background daemon"
flag off
+dependon="logfile"
details="
Note that para_server refuses to start in daemon mode if no
logfile was specified.