compose: Change default stop signal from '' to SIGTERM

Change-type: patch
Signed-off-by: Shaun Mulligan <shaun@balena.io>
This commit is contained in:
Shaun Mulligan 2018-11-27 12:13:20 -08:00
parent 27efe86bae
commit 646a510310

View File

@ -492,7 +492,7 @@ export class Service {
tmpfs,
extraHosts: container.HostConfig.ExtraHosts || [],
ulimits,
stopSignal: (container.Config as any).StopSignal || '',
stopSignal: (container.Config as any).StopSignal || 'SIGTERM',
stopGracePeriod: (container.Config as any).StopTimeout || 10,
healthcheck: ComposeUtils.dockerHealthcheckToServiceHealthcheck(
(container.Config as any).Healthcheck || {},