preremove.sh stops the service during upgrades (to avoid stale venv binaries), but postinstall.sh wasn't restarting it. Now postinstall checks if the service was enabled and restarts it after the venv is rebuilt, so upgrades don't leave a previously running service down. https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn