Fix PyInstaller binary upgrade handling for wsssh-server package
- 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
Showing
wsssh-server/debian/preinst
0 → 100755
Please
register
or
sign in
to comment