diff --git a/index.js b/index.js index 0f141b2e7..c9f2eb59b 100644 --- a/index.js +++ b/index.js @@ -11,6 +11,7 @@ const controller = new Controller(); controller.start(); process.on('SIGINT', handleQuit); +process.on('SIGTERM', handleQuit); function handleQuit() { controller.stop(() => process.exit());