Browse Source

Handle SIGUSR1 in the child sighandler

master
Con Kolivas 10 years ago
parent
commit
92fb508c44
  1. 1
      src/ckpool.c

1
src/ckpool.c

@ -814,6 +814,7 @@ static void launch_process(proc_instance_t *pi)
handler.sa_handler = &childsighandler;
handler.sa_flags = 0;
sigemptyset(&handler.sa_mask);
sigaction(SIGUSR1, &handler, NULL);
sigaction(SIGTERM, &handler, NULL);
signal(SIGINT, SIG_IGN);
signal(SIGQUIT, SIG_IGN);

Loading…
Cancel
Save