mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-03-11 08:54:34 +00:00
Addresses an issue where re-running an instance on replit caused an `[ERNO 98] Address already in use` error. Now it kills whatever process is running on the default Whoogle port (5000) before running the app. Fixes #531
3 lines
203 B
Text
3 lines
203 B
Text
language = "bash"
|
|
run = "kill $(lsof -t -i:5000) > /dev/null 2>&1; pip install -r requirements.txt && ./run"
|
|
onBoot = "kill $(lsof -t -i:5000) > /dev/null 2>&1; pip install -r requirements.txt && ./run"
|