2026-02-15 19:18:49 +00:00
|
|
|
process.stdout.write("ready\n");
|
2026-01-15 06:08:21 +00:00
|
|
|
|
2026-02-15 19:18:49 +00:00
|
|
|
const keepAlive = setInterval(() => {}, 1000);
|
2026-01-15 06:08:21 +00:00
|
|
|
|
2026-01-15 06:37:27 +00:00
|
|
|
const shutdown = () => {
|
2026-02-15 19:18:49 +00:00
|
|
|
clearInterval(keepAlive);
|
|
|
|
|
process.exit(0);
|
2026-01-15 06:08:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
process.on("SIGTERM", shutdown);
|
|
|
|
|
process.on("SIGINT", shutdown);
|