mirror of
https://github.com/containers/podman.git
synced 2025-12-09 23:27:09 +08:00
Change stop signal default to SIGTERM
Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #299 Approved by: rhatdan
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user