mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +00:00
compose: Set default config for stopSignal to SIGTERM
Change-type: patch Signed-off-by: Shaun Mulligan shaun@balena.io
This commit is contained in:
parent
646a510310
commit
aface89fd2
@ -349,7 +349,7 @@ export class Service {
|
||||
pidsLimit: 0,
|
||||
securityOpt: [],
|
||||
stopGracePeriod,
|
||||
stopSignal: '',
|
||||
stopSignal: 'SIGTERM',
|
||||
sysctls: {},
|
||||
tmpfs,
|
||||
usernsMode: '',
|
||||
|
@ -159,7 +159,7 @@ export function getStopSignal(
|
||||
}
|
||||
return composeStop;
|
||||
}
|
||||
return _.get(imageInfo, 'Config.StopSignal', '');
|
||||
return _.get(imageInfo, 'Config.StopSignal', 'SIGTERM');
|
||||
}
|
||||
|
||||
// TODO: Move healthcheck stuff into seperate module
|
||||
|
Loading…
Reference in New Issue
Block a user