14 lines
292 B
Bash
Executable File
14 lines
292 B
Bash
Executable File
#!/bin/bash
|
|
echo "Stopping Audio Dashboard API..."
|
|
|
|
# 查找占用 8083 端口的进程
|
|
PID=$(lsof -ti :8083 2>/dev/null)
|
|
|
|
if [ -n "$PID" ]; then
|
|
echo "Found process PID: $PID"
|
|
kill -9 "$PID" 2>/dev/null
|
|
echo "Service stopped."
|
|
else
|
|
echo "No service running on port 8083."
|
|
fi
|