mirror of
https://github.com/benbusby/whoogle-search
synced 2024-11-01 03:20:30 +00:00
257b23e89e
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
4 lines
203 B
Plaintext
4 lines
203 B
Plaintext
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"
|