Fix watchdog PID file to store correct background process PID
- Capture PID of background main() process with MAIN_PID= - Store correct PID in watchdog PID file instead of main() function PID - Prevent PID file from containing exited process PID - Fix both wssshd and wssshc watchdogs - Watchdog PID file now contains PID of actual running process
Showing
Please
register
or
sign in
to comment