Convert backend from submodule to regular directory
Some checks failed
Deploy to NAS / deploy (push) Failing after 4s
Some checks failed
Deploy to NAS / deploy (push) Failing after 4s
Remove submodule tracking; backend is now a plain directory in the repo. Also update deploy workflow: remove --recurse-submodules. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
backend/stop.sh
Executable file
12
backend/stop.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
PORT="${LISTEN_ADDR:-:8081}"
|
||||
PORT="${PORT#:}"
|
||||
|
||||
PID=$(lsof -ti:$PORT)
|
||||
if [ -z "$PID" ]; then
|
||||
echo "Server is not running on port $PORT"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
kill $PID
|
||||
echo "Server stopped (port $PORT, pid $PID)"
|
||||
Reference in New Issue
Block a user