From 7738baf38e3220f4fc998808b76f03dea4b8d736 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Fri, 20 Mar 2009 19:09:55 +0100 Subject: [PATCH] Log configuration reloads. Signed-off-by: Jan Vidar Krey --- src/main.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/main.c b/src/main.c index 5c3d7ee..9815e60 100644 --- a/src/main.c +++ b/src/main.c @@ -57,17 +57,6 @@ void hub_handle_signal(int fd, short events, void* arg) hub->status = hub_status_restart; break; - case SIGUSR1: - hub_log(log_trace, "hub_handle_signal(): caught SIGUSR1 -- FIXME"); - break; - - case SIGUSR2: - hub_log(log_trace, "hub_handle_signal(): caught SIGUSR2"); - { - user_manager_print_stats(hub); - } - break; - default: hub_log(log_trace, "hub_handle_signal(): caught unknown signal: %d", signal); hub->status = hub_status_shutdown; @@ -82,8 +71,6 @@ static int signals[] = SIGTERM, /* Terminate the application */ SIGPIPE, /* prevent sigpipe from kills the application */ SIGHUP, /* reload configuration */ - SIGUSR1, /* dump statistics */ - SIGUSR2, /* (unused) */ 0 };