[PR #15] feat: Improve portability of CasaOS healthcheck script #17

Open
opened 2025-11-20 04:14:18 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/bigbeartechworld/big-bear-scripts/pull/15

State: closed
Merged: Yes


This pull request improves the portability of the CasaOS healthcheck script by replacing the hardcoded shebang #!/bin/bash with #!/usr/bin/env bash. This change ensures the script can be executed on systems where the Bash binary is not located at the default path /bin/bash.

Summary by CodeRabbit

  • New Features

    • Enhanced health check script with additional checks for Docker status, storage health, disk space, CPU load, memory usage, system temperature, and system updates.
    • Improved output formatting for better readability, including colored status indicators.
    • Added user prompts for sudo privileges to inform users of potential limitations.
  • Bug Fixes

    • Refined handling of service logs to differentiate between simulated and real logs for clearer output.
**Original Pull Request:** https://github.com/bigbeartechworld/big-bear-scripts/pull/15 **State:** closed **Merged:** Yes --- This pull request improves the portability of the CasaOS healthcheck script by replacing the hardcoded shebang `#!/bin/bash` with `#!/usr/bin/env bash`. This change ensures the script can be executed on systems where the Bash binary is not located at the default path `/bin/bash`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced health check script with additional checks for Docker status, storage health, disk space, CPU load, memory usage, system temperature, and system updates. - Improved output formatting for better readability, including colored status indicators. - Added user prompts for sudo privileges to inform users of potential limitations. - **Bug Fixes** - Refined handling of service logs to differentiate between simulated and real logs for clearer output. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
saavagebueno added the pull-request label 2025-11-20 04:14:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/big-bear-scripts#17