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();