Shutdown on SIGHUP signal (when terminal is closed)

This commit is contained in:
tecnovert 2024-11-25 23:19:22 +02:00
parent 3ba2145cc9
commit f4f64423a4
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93

View file

@ -436,6 +436,7 @@ def runClient(fp, data_dir, chain, start_only_coins):
signal.signal(signal.SIGINT, signal_handler)
signal.signal(signal.SIGTERM, signal_handler)
signal.signal(signal.SIGHUP, signal_handler)
if len(start_only_coins) > 0:
logger.info(