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:
parent
fb6591607f
commit
5e4403bb2e
1 changed files with 3 additions and 0 deletions
|
@ -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`);
|
||||
|
|
Loading…
Reference in a new issue