We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e89ab0f commit d08484cCopy full SHA for d08484c
index.ts
@@ -22,6 +22,7 @@ async function start() {
22
// if role variable is set just run that script
23
import('./svc/' + process.env.ROLE + '.ts');
24
} else if (process.env.GROUP) {
25
+ console.log('running group %s', process.env.GROUP);
26
// or run the group with pm2
27
cp.execSync('pm2 start ecosystem.config.js');
28
setInterval(
@@ -31,7 +32,7 @@ async function start() {
31
32
24 * 60 * 60 * 1000,
33
);
34
} else {
- // Block indefinitely (keep process alive for Docker)
35
+ console.log('blocking process indefinitely for Docker');
36
process.stdin.resume();
37
}
38
0 commit comments