Remove `lsof` dependency in replit deploy (#569)

Use `killall -q python3` instead
pull/584/head v0.7.0
Albony Cal 2 years ago committed by GitHub
parent 3d8da1db58
commit 84b5987ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,3 @@
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"
run = "killall -q python3 > /dev/null 2>&1; pip install -r requirements.txt && ./run"
onBoot = "killall -q python3 > /dev/null 2>&1; pip install -r requirements.txt && ./run"

Loading…
Cancel
Save