• 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
Name
Last commit
Last update
logos Loading commit data...
templates Loading commit data...
wsssh-server/debian Loading commit data...
wssshtools Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
build.sh Loading commit data...
clean.sh Loading commit data...
image.jpg Loading commit data...
requirements.txt Loading commit data...
wsscp.py Loading commit data...
wsssh.py Loading commit data...
wssshc.conf.example Loading commit data...
wssshc.init Loading commit data...
wssshc.py Loading commit data...
wssshc_watcher.sh Loading commit data...
wssshd.conf.example Loading commit data...
wssshd.init Loading commit data...
wssshd.py Loading commit data...