File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ With the runner running:
366366If you prefer pm2 for process management:
367367
368368``` bash
369- pm2 start " hapi runner start --foreground " --name hapi-runner
369+ pm2 start " hapi runner start-sync " --name hapi-runner
370370pm2 save
371371```
372372</details >
@@ -385,7 +385,7 @@ Simple one-liner for quick background runs:
385385nohup hapi hub --relay > ~ /.hapi/logs/hub.log 2>&1 &
386386
387387# Runner
388- nohup hapi runner start --foreground > ~ /.hapi/logs/runner.log 2>&1 &
388+ nohup hapi runner start-sync > ~ /.hapi/logs/runner.log 2>&1 &
389389```
390390
391391View logs:
@@ -414,7 +414,7 @@ npm install -g pm2
414414
415415# Start hub and runner
416416pm2 start " hapi hub --relay" --name hapi-hub
417- pm2 start " hapi runner start --foreground " --name hapi-runner
417+ pm2 start " hapi runner start-sync " --name hapi-runner
418418
419419# View status and logs
420420pm2 status
@@ -472,8 +472,7 @@ Create plist files for automatic startup on macOS.
472472 <array >
473473 <string >/usr/local/bin/hapi</string >
474474 <string >runner</string >
475- <string >start</string >
476- <string >--foreground</string >
475+ <string >start-sync</string >
477476 </array >
478477 <key >RunAtLoad</key >
479478 <true />
@@ -537,7 +536,7 @@ After=network.target hapi-hub.service
537536
538537[Service]
539538Type=simple
540- ExecStart=/usr/local/bin/hapi runner start --foreground
539+ ExecStart=/usr/local/bin/hapi runner start-sync
541540Restart=always
542541RestartSec=5
543542
You can’t perform that action at this time.
0 commit comments