mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
Add logs for sig int
This commit is contained in:
parent
1270c8fdaf
commit
185d812185
1 changed files with 2 additions and 0 deletions
|
@ -102,11 +102,13 @@ public class CommonSetup {
|
|||
|
||||
protected static void setupSigIntHandlers(GracefulShutDownHandler gracefulShutDownHandler) {
|
||||
Signal.handle(new Signal("INT"), signal -> {
|
||||
log.info("Received {}", signal);
|
||||
UserThread.execute(() -> gracefulShutDownHandler.gracefulShutDown(() -> {
|
||||
}));
|
||||
});
|
||||
|
||||
Signal.handle(new Signal("TERM"), signal -> {
|
||||
log.info("Received {}", signal);
|
||||
UserThread.execute(() -> gracefulShutDownHandler.gracefulShutDown(() -> {
|
||||
}));
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue