forked from lda/telodendria
Telodendria now responds correctly to SIGTERM.
This commit is contained in:
parent
279f261aed
commit
a525830b64
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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.",
|
||||
|
|
Loading…
Reference in a new issue