Skip to content

Commit 50cbbeb

Browse files
Troy Flaggkevin-bates
authored andcommitted
Add ability for Kernel Gateway to ignore SIGHUP signal
make SIGHUP ignore default Closes #304
1 parent fccdd80 commit 50cbbeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel_gateway/gatewayapp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@ def start(self):
546546
))
547547
self.io_loop = ioloop.IOLoop.current()
548548

549+
signal.signal(signal.SIGHUP, signal.SIG_IGN)
550+
549551
signal.signal(signal.SIGTERM, self._signal_stop)
550552

551553
try:

0 commit comments

Comments
 (0)