Add ECDSA key generation.
[tinc] / src / process.c
index 8967834..0584da6 100644 (file)
@@ -26,6 +26,7 @@
 #include "device.h"
 #include "edge.h"
 #include "logger.h"
+#include "net.h"
 #include "node.h"
 #include "process.h"
 #include "subnet.h"
@@ -223,8 +224,10 @@ bool init_service(void) {
 */
 bool detach(void) {
 #ifndef HAVE_MINGW
-       signal(SIGALRM, SIG_IGN);
-       signal(SIGCHLD, SIG_IGN);
+       signal(SIGPIPE, SIG_IGN);
+       signal(SIGUSR1, SIG_IGN);
+       signal(SIGUSR2, SIG_IGN);
+       signal(SIGWINCH, SIG_IGN);
 
        closelogger();
 #endif