sgo / start.sh
Eric Xu
Fix port binding: start.sh kills zombie, add app logging
618f739 unverified
raw
history blame contribute delete
139 Bytes
#!/bin/bash
# Kill any process holding port 7860
kill $(lsof -t -i:7860 2>/dev/null) 2>/dev/null || true
sleep 1
exec python -u web/app.py