From 23a24d42e2c1ab8298f01a864feffbc969547c16 Mon Sep 17 00:00:00 2001 From: despiegk Date: Sun, 26 Oct 2025 11:05:59 +0400 Subject: [PATCH] .. --- start.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index b3d5849..ea907c0 100755 --- a/start.sh +++ b/start.sh @@ -19,5 +19,8 @@ echo "Activating virtual environment..." source .venv/bin/activate echo "Installing dependencies..." uv pip install wsgidav cheroot pyyaml -echo "Starting WebDAV server on port $PORT..." +PORT=8004 +echo "Checking for process on port $PORT..." +lsof -ti:$PORT | xargs -r kill -9 +echo "Starting WebDAV server..." python server_webdav.py