From dde069e62a66ed7a1bdb601ad11d53d5b5a85b19 Mon Sep 17 00:00:00 2001 From: Kaede Fujisaki Date: Wed, 21 Jun 2023 22:46:52 +0900 Subject: [PATCH] once --- server/src/cmd/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/cmd/main.ts b/server/src/cmd/main.ts index c159975..3a9eea2 100644 --- a/server/src/cmd/main.ts +++ b/server/src/cmd/main.ts @@ -22,7 +22,7 @@ async function main() { process.once('SIGINT', () => { abortController.abort(); }); - process.on('SIGTERM', () => { + process.once('SIGTERM', () => { abortController.abort(); }); const asset = new Asset();