• Stefy Lanza (nextime / spora )'s avatar
    Add SIGHUP signal handling to wssshc for configuration reload · e4bfac6f
    Stefy Lanza (nextime / spora ) authored
    - Implement SIGHUP signal handler that triggers configuration reload
    - Add reload_configuration() function to reload services config and password
    - Reload password from config files when SIGHUP is received
    - Reload services configuration from service files
    - Update connect_to_server() to accept services parameters for reload functionality
    - Add proper cleanup for services in main function
    
    This allows wssshc to reload its configuration without restarting:
    - Services configuration from /etc/wsssh.d/ directory
    - Password from config files
    - All changes take effect immediately without service interruption
    e4bfac6f
Name
Last commit
Last update
templates Loading commit data...
wsssd Loading commit data...
wsssh-server/debian Loading commit data...
wssshtools Loading commit data...
.gitignore Loading commit data...
BRIDGE_MODE_TESTING.md 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...
prompt.txt Loading commit data...
requirements.txt Loading commit data...
service.conf.example Loading commit data...
test_bridge_mode.sh Loading commit data...
wssshc.conf.example Loading commit data...
wssshc.init 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...
wsssht.conf.example Loading commit data...
wsssht.init Loading commit data...