fix signal handler
This commit is contained in:
parent
282ef34d11
commit
83de83993c
1 changed files with 1 additions and 1 deletions
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue