add SIGHUP and SIGTERM to cli shutdown

This commit is contained in:
2024-06-13 16:08:56 -05:00
parent 837fd53dfd
commit 83cb2f82f5
+3 -3
View File
@@ -15,6 +15,6 @@ async function startOntime() {
startOntime(); startOntime();
process.on('SIGINT',()=>{ process.on(['SIGHUP', 'SIGINT', 'SIGTERM'], () => {
shutdown() shutdown();
}) });