diff --git a/src/Main.c b/src/Main.c index 727227b..7d31750 100644 --- a/src/Main.c +++ b/src/Main.c @@ -66,6 +66,7 @@ SignalHandler(int signal) case SIGUSR1: restart = 1; /* Fall through */ + case SIGTERM: case SIGINT: if (!httpServers) { @@ -536,6 +537,7 @@ start: } SIGACTION(SIGINT, &sigAction, NULL); + SIGACTION(SIGTERM, &sigAction, NULL); SIGACTION(SIGPIPE, &sigAction, NULL); SIGACTION(SIGUSR1, &sigAction, NULL); diff --git a/src/Uia.c b/src/Uia.c index 4ca36a5..9213c98 100644 --- a/src/Uia.c +++ b/src/Uia.c @@ -493,8 +493,6 @@ UiaCleanup(MatrixHttpHandlerArgs * args) unsigned long lastAccess; - Log(LOG_DEBUG, "Looking at session %s", session); - if (!ref) { Log(LOG_ERR, "Unable to lock uia %s for inspection.",