From 15b26f6209014ce8d1ba97f90e93921beab4080e Mon Sep 17 00:00:00 2001 From: imperzer0 Date: Thu, 8 Dec 2022 09:11:58 +0100 Subject: [PATCH] added more signal handlers --- server.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server.cpp b/server.cpp index cd02dfa..e6858c7 100644 --- a/server.cpp +++ b/server.cpp @@ -175,6 +175,11 @@ void server_initialize() { signal(SIGINT, signal_handler); signal(SIGTERM, signal_handler); + signal(SIGABRT, signal_handler); + signal(SIGKILL, signal_handler); + signal(SIGTERM, signal_handler); + signal(SIGQUIT, signal_handler); + signal(SIGHUP, signal_handler); mg_log_set(log_level); mg_mgr_init(&manager);