src/server/daemon/main.c

changeset 619
4e2bac64c950
parent 610
447e6d9ba8a4
equal deleted inserted replaced
618:e42a8de6d66f 619:4e2bac64c950
83 83
84 /* 84 /*
85 * SIGTERM: stop the server 85 * SIGTERM: stop the server
86 */ 86 */
87 void sig_term(int sig) { 87 void sig_term(int sig) {
88 webserver_shutdown(); 88 webserver_shutdown(TRUE);
89 //exit(EXIT_SUCCESS); 89 //exit(EXIT_SUCCESS);
90 } 90 }
91 91
92 static void set_pipe_nonblocking(int fd) { 92 static void set_pipe_nonblocking(int fd) {
93 int flags = 0; 93 int flags = 0;

mercurial