Improve watchdog scripts robustness and error handling
- 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
Showing
Please
register
or
sign in
to comment