Update .replit

One less dependency, yea ik this's lil janky
but works and doesn't need lsof
it uses `killall -q python3`
This commit is contained in:
Albony Cal 2021-12-10 10:31:26 +05:30 committed by GitHub
parent 87ec2a8023
commit f996f1ab4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,3 @@
language = "bash"
run = "install-pkg lsof && kill $(lsof -t -i:5000) > /dev/null 2>&1; pip install -r requirements.txt && ./run"
onBoot = "install-pkg lsof && 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"