• nextime's avatar
    Fix watchdog daemonization with setsid · 309d1940
    nextime authored
    - Use setsid to properly daemonize main() function
    - setsid bash -c 'main' & creates independent process group
    - Prevents main() from being killed when parent script exits
    - Fixed both wssshd and wssshc watchdogs
    - Watchdog processes should now persist correctly
    309d1940
wssshd-watchdog 11.3 KB