diff options
author | Matthew Heon <mheon@redhat.com> | 2018-02-06 13:31:21 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-02-06 19:03:57 +0000 |
commit | d20c1a9911b2614640ef3c417a5b7af7254f52b5 (patch) | |
tree | 6b269c86a194e2ceaff324aa43b765374428726a /cmd/podman/create.go | |
parent | 0d7e6fa22fa15254e1599b9f41ab9be2650cff71 (diff) | |
download | podman-d20c1a9911b2614640ef3c417a5b7af7254f52b5.tar.gz podman-d20c1a9911b2614640ef3c417a5b7af7254f52b5.tar.bz2 podman-d20c1a9911b2614640ef3c417a5b7af7254f52b5.zip |
Change stop signal default to SIGTERM
Signed-off-by: Matthew Heon <mheon@redhat.com>
Closes: #299
Approved by: rhatdan
Diffstat (limited to 'cmd/podman/create.go')
-rw-r--r-- | cmd/podman/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/create.go b/cmd/podman/create.go index ac6bc2969..b3aa42b8a 100644 --- a/cmd/podman/create.go +++ b/cmd/podman/create.go @@ -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") |