Commit c0397af6 authored by Paul Rich's avatar Paul Rich
Browse files

Default signal now SIGTERM not SIGINT.

parent 82f4c214
......@@ -134,7 +134,7 @@ class ProcessGroupManager(object): #degenerate with ProcessMonitor.
raise RuntimeError("Job %s: No valid forkers found!" % jobid)
return selected_forker
def signal_groups(self, pgids, signame="SIGINT"):
def signal_groups(self, pgids, signame="SIGTERM"):
'''Send signal with signame to a list of process groups.
Returns:
......
......@@ -150,7 +150,7 @@ class ProcessGroup(Data):
_logger.error(err)
raise ProcessGroupStartupError(err)
def signal(self, signame="SIGINT"):
def signal(self, signame="SIGTERM"):
'''Validate and send signal to ProcessGroup. Consult your system and
python documentation for valid signals to send.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment