Change stop signal default to SIGTERM

Signed-off-by: Matthew Heon <mheon@redhat.com>

Closes: #299
Approved by: rhatdan
This commit is contained in:
Matthew Heon
2018-02-06 13:31:21 -05:00
committed by Atomic Bot
parent 0d7e6fa22f
commit d20c1a9911
2 changed files with 2 additions and 1 deletions

View File

@@ -527,7 +527,7 @@ func parseCreateOpts(c *cli.Context, runtime *libpod.Runtime, imageName string,
}
// STOP SIGNAL
stopSignal := syscall.SIGINT
stopSignal := syscall.SIGTERM
signalString := data.Config.StopSignal
if c.IsSet("stop-signal") {
signalString = c.String("stop-signal")