Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
chore(backend): log shutdown signals received by the master
johaven4aca79a9d4fa
diff --git a/backend/src/app.service.ts b/backend/src/app.service.tsindex 828b52b7..c09ce9cb 100755--- a/backend/src/app.service.ts+++ b/backend/src/app.service.ts@@ -55,7 +55,10 @@ export class AppService {if (AppService.shutdownHooksRegistered) returnAppService.shutdownHooksRegistered = truefor (const signal of ['SIGINT', 'SIGTERM'] satisfies NodeJS.Signals[]) {- process.on(signal, () => AppService.shutdown(signal))+ process.on(signal, () => {+ AppService.logger.log(`[Master:${process.pid}] received ${signal}`)+ AppService.shutdown(signal)+ })}}