about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts
index bb492d0..f0db416 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -14,10 +14,12 @@ process.on("SIGTERM", function () {
   log.info("SIGTERM received, shutting down...");
   metricsServed.stop();
   served.stop();
+  process.exit(0);
 });
 
 process.on("SIGINT", function () {
   log.info("SIGINT received, shutting down...");
   metricsServed.stop();
   served.stop();
+  process.exit(0);
 });