diff --git a/src/main.ts b/src/main.ts index 46a0c9ca..1acb49cd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -43,11 +43,11 @@ process.on('unhandledRejection', (reason, promise) => { }); logger.info('NODE - Catching unhandled rejections and exceptions enabled'); -process.on('SIGINT', () => { +process.once('SIGINT', () => { logger.info('SIGINT received'); }); -process.on('SIGTERM', () => { +process.once('SIGTERM', () => { logger.info('SIGTERM received'); });