• nextime's avatar
    Fix PID file creation in watchdog start case · 51f99873
    nextime authored
    - 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
    51f99873