Skip to content

Commit

Permalink
add override
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Jun 24, 2024
1 parent f512562 commit 8a4c414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ let arr = [
},
{
name: 'scanner2',
name_override: 'scanner',
group: 'backend',
script: 'svc/scanner.ts',
env: {
SCANNER_OFFSET: '50000',
}
Expand Down Expand Up @@ -171,7 +171,7 @@ const apps = arr.map((app) => {
: undefined),
env: {
...app.env,
ROLE: app.name,
ROLE: app.name_override ?? app.name,
},
};
});
Expand Down

0 comments on commit 8a4c414

Please sign in to comment.