if(become_daemon(dont_fork, 0, input_log_file, output_log_file, error_log_file, access_log_file, &access_fd, &stdaccess) == -1) {
fprintf(stderr, "Cannot demonize myself (%s).", strerror(errno));
exit(1);
if(become_daemon(dont_fork, 0, input_log_file, output_log_file, error_log_file, access_log_file, &access_fd, &stdaccess) == -1) {
fprintf(stderr, "Cannot demonize myself (%s).", strerror(errno));
exit(1);