Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AIG-public
Cobalt
Commits
c0397af6
Commit
c0397af6
authored
Sep 21, 2017
by
Paul Rich
Browse files
Default signal now SIGTERM not SIGINT.
parent
82f4c214
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/Components/system/base_pg_manager.py
View file @
c0397af6
...
...
@@ -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
=
"SIG
INT
"
):
def
signal_groups
(
self
,
pgids
,
signame
=
"SIG
TERM
"
):
'''Send signal with signame to a list of process groups.
Returns:
...
...
src/lib/DataTypes/ProcessGroup.py
View file @
c0397af6
...
...
@@ -150,7 +150,7 @@ class ProcessGroup(Data):
_logger
.
error
(
err
)
raise
ProcessGroupStartupError
(
err
)
def
signal
(
self
,
signame
=
"SIG
INT
"
):
def
signal
(
self
,
signame
=
"SIG
TERM
"
):
'''Validate and send signal to ProcessGroup. Consult your system and
python documentation for valid signals to send.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment