commit | fd7101b3b5065d009d3241470fca7069f6ec52f6 | [log] [tgz] |
---|---|---|
author | Tobias Henkel <tobias.henkel@bmw.de> | Mon Dec 18 08:10:43 2017 +0100 |
committer | Tobias Henkel <tobias.henkel@bmw.de> | Mon Dec 18 08:41:47 2017 +0100 |
tree | 801e4ea663d325cfab5fea68b2d4bb68bec38704 | |
parent | 6abc1fb9d61374147fcd763c7299b2d5e90c0a0a [diff] |
Handle sigterm in nodaemon mode When running zuul within a container it normally runs in nodaemon mode as pid 1. Currently in this mode zuul just ignores SIGTERM which is used normally to stop containers. Thus when running within OpenShift it waits for a timeout until it gets killed forcefully. Fix this by handling SIGINT and SIGTERM equally. Change-Id: I24bd8c953e734fdb9545714126d77cbcdc161bbd