summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
56ee850)
This allows to remove the check in server.c.
server_cmdline_parser_config_file(cf, &conf, ¶ms);
conf.daemon_given = tmp;
}
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;
if (conf.logfile_given)
logfile = open_log(conf.logfile_arg);
ret = 1;
#~~~~~~~~~~~~~~~~
"run as background daemon"
flag off
#~~~~~~~~~~~~~~~~
"run as background daemon"
flag off
details="
Note that para_server refuses to start in daemon mode if no
logfile was specified.
details="
Note that para_server refuses to start in daemon mode if no
logfile was specified.