mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
parent
37a3e7e4d5
commit
368ebf4fbf
@ -293,6 +293,9 @@ static void UmbrellaSignalHandler(int num, siginfo_t *info, void*)
|
|||||||
break;
|
break;
|
||||||
case SIGHUP:
|
case SIGHUP:
|
||||||
l_RequestedReload.store(true);
|
l_RequestedReload.store(true);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
VERIFY(!"Caught unexpected signal");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -309,6 +312,9 @@ static void WorkerSignalHandler(int num, siginfo_t *info, void*)
|
|||||||
if (info->si_pid == l_UmbrellaPid) {
|
if (info->si_pid == l_UmbrellaPid) {
|
||||||
Application::RequestShutdown();
|
Application::RequestShutdown();
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
VERIFY(!"Caught unexpected signal");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user