Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
nrm
Commits
255e4bc9
Commit
255e4bc9
authored
Apr 19, 2019
by
Valentin Reis
Browse files
Merge branch '46-cmd-run-sigterm-handling' into 'master'
Resolve "`cmd run` SIGTERM handling" Closes
#46
See merge request
!79
parents
8d750a33
77c98475
Pipeline
#6459
passed with stages
in 4 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/cmd
View file @
255e4bc9
...
...
@@ -58,6 +58,7 @@ class CommandLineInterface(object):
def
handler
(
signum
,
frame
):
self
.
do_signal
(
None
,
signum
,
frame
)
signal
.
signal
(
signal
.
SIGINT
,
handler
)
signal
.
signal
(
signal
.
SIGTERM
,
handler
)
self
.
client
.
connect
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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