From 5e4403bb2eb89b0f4ea84fdf39e38c5fab7fdc5d Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Wed, 2 Aug 2023 17:03:26 -0400 Subject: [PATCH] chore(server): process title (#3519) --- server/src/main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/main.ts b/server/src/main.ts index 1f2221a8de..9ddd00ec85 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -11,10 +11,13 @@ if (process.argv[2] === immichApp) { function bootstrap() { switch (immichApp) { case 'immich': + process.title = 'immich_server'; return immich(); case 'microservices': + process.title = 'immich_microservices'; return microservices(); case 'admin-cli': + process.title = 'immich_admin_cli'; return adminCli(); default: console.log(`Invalid app name: ${immichApp}. Expected one of immich|microservices|cli`);