Merge pull request #356 from cdburkard/patches/stop_controller
fix for controller shutdown - send SIGHUP rather than SIGKILL
This commit is contained in:
+1
-1
@@ -205,7 +205,7 @@ class Node( object ):
|
|||||||
def terminate( self ):
|
def terminate( self ):
|
||||||
"Send kill signal to Node and clean up after it."
|
"Send kill signal to Node and clean up after it."
|
||||||
if self.shell:
|
if self.shell:
|
||||||
os.killpg( self.pid, signal.SIGKILL )
|
os.killpg( self.pid, signal.SIGHUP )
|
||||||
self.cleanup()
|
self.cleanup()
|
||||||
|
|
||||||
def stop( self ):
|
def stop( self ):
|
||||||
|
|||||||
Reference in New Issue
Block a user