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