• nextime's avatar
    Fix PyInstaller binary upgrade handling for wsssh-server package · 0401fb37
    nextime authored
    - Created preinst script to stop wssshd service before upgrade
    - Modified postinst script to restart service if it was running before upgrade
    - Added proper state tracking using /tmp/wsssh-server-upgrade-state file
    - Ensures zero-downtime upgrades by handling PyInstaller binary file locks
    - Updated README.md to document the automatic upgrade handling
    - Prevents 'file in use' errors during package upgrades
    - Maintains service continuity across upgrades
    0401fb37
postinst 3.81 KB