• nextime's avatar
    Improve watchdog scripts robustness and error handling · 19a0ac29
    nextime authored
    - Added fallback mechanism when start-stop-daemon fails
    - Try direct daemon execution if start-stop-daemon fails
    - Added better error checking for daemon binary existence
    - Simplified complex awk-based restart limit checking
    - Added proper error suppression for directory operations
    - Made watchdog scripts more robust for testing/development environments
    - Disabled restart limiting temporarily to avoid parsing issues
    - Improved logging for troubleshooting startup failures
    - Both wssshd-watchdog and wssshc-watchdog updated with same improvements
    19a0ac29
wssshd-watchdog 6.27 KB