• nextime's avatar
    Fix watchdog PID file to store correct background process PID · 5ee95a9f
    nextime authored
    - 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
    5ee95a9f
wssshd-watchdog 11.4 KB