From 84b5987ac5a569d5958c725d7ff25972a71ab4ab Mon Sep 17 00:00:00 2001 From: Albony Cal <67057319+Albonycal@users.noreply.github.com> Date: Thu, 16 Dec 2021 05:46:56 +0530 Subject: [PATCH] Remove `lsof` dependency in replit deploy (#569) Use `killall -q python3` instead --- .replit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.replit b/.replit index 4e8f812..c68c7ba 100644 --- a/.replit +++ b/.replit @@ -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"