Fix watchdog daemonization with setsid
- 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
Showing
Please
register
or
sign in
to comment