don't deal with pid files

we can't write out pid files since the code is using fork() and at
fork handler will delete the pid file.
This commit is contained in:
Love Hornquist Astrand
2013-05-02 12:05:04 -07:00
parent 39516c2fc5
commit a4a47000b7

View File

@@ -173,7 +173,6 @@ main(int argc, char **argv)
mini_inetd(debug_port, &sfd);
} else {
#ifdef _WIN32
pidfile(NULL);
start_server(context, port_str);
#else
struct sockaddr_storage __ss;
@@ -187,7 +186,6 @@ main(int argc, char **argv)
if(roken_getsockname(STDIN_FILENO, sa, &sa_size) < 0 &&
rk_SOCK_ERRNO == ENOTSOCK) {
pidfile(NULL);
start_server(context, port_str);
}
#endif /* _WIN32 */