mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 12:26:19 +02:00
fix signal handler
This commit is contained in:
@@ -79,7 +79,7 @@ def create_app() -> FastAPI:
|
||||
|
||||
async def check_funding_source() -> None:
|
||||
|
||||
# original_sigint_handler = signal.getsignal(signal.SIGINT)
|
||||
original_sigint_handler = signal.getsignal(signal.SIGINT)
|
||||
|
||||
def signal_handler(signal, frame):
|
||||
logger.debug(f"SIGINT received, terminating LNbits.")
|
||||
|
Reference in New Issue
Block a user