Skip to content

Commit db934a9

Browse files
authored
Update hapi runner command to use start-sync (#685)
* Update hapi runner command to use start-sync * Update installation instructions for start command
1 parent 9af6696 commit db934a9

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

docs/guide/installation.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ With the runner running:
366366
If 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
370370
pm2 save
371371
```
372372
</details>
@@ -385,7 +385,7 @@ Simple one-liner for quick background runs:
385385
nohup 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

391391
View logs:
@@ -414,7 +414,7 @@ npm install -g pm2
414414

415415
# Start hub and runner
416416
pm2 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
420420
pm2 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]
539538
Type=simple
540-
ExecStart=/usr/local/bin/hapi runner start --foreground
539+
ExecStart=/usr/local/bin/hapi runner start-sync
541540
Restart=always
542541
RestartSec=5
543542

0 commit comments

Comments
 (0)