avoid running kill of skyvern is not running (#2416)
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
kill $(lsof -t -i :8000)
|
pid=$(lsof -t -i :8000)
|
||||||
|
if [ ! -z "$pid" ]; then
|
||||||
|
kill $pid
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
|
|||||||
Reference in New Issue
Block a user