Fix PID file creation in watchdog start case
- Create PID file in start case with correct background process PID - Remove PID file creation from main() function to avoid empty files - Validate background process is running before reporting success - Clean up PID file if process fails to start - Fix both wssshd and wssshc watchdogs
Showing
Please
register
or
sign in
to comment