Commit ec0c121
fix(nrdot-haproxy): use exit 31 for service failed to start
Use newrelic-cli standard exit code 31 instead of generic exit 1
when nrdot-collector fails to start. This allows the CLI to properly
categorize the failure, matching the pattern used by nginx and
elasticsearch-otel recipes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent afa8923 commit ec0c121
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
| 395 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
| 400 | + | |
400 | 401 | | |
0 commit comments