1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

chore(server): process title (#3519)

This commit is contained in:
Jason Rasmussen 2023-08-02 17:03:26 -04:00 committed by GitHub
parent fb6591607f
commit 5e4403bb2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`);