Files

19 lines
493 B
Fish
Executable File

#!/usr/bin/env fish
# scripts/launch.fish
set BASE_DIR /home/creserver/Desktop/Vaishno_workspace/Unified_Dashboard_Suite_Go
set BIN $BASE_DIR/bin
set PORTS 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010
# Kill any existing processes on our ports
for port in $PORTS
set pid (lsof -t -i:$port 2>/dev/null)
if test -n "$pid"
kill -9 $pid
end
end
# Launch the single gateway binary (manages all tools)
cd $BASE_DIR
exec $BIN/nexus-gateway -config configs/tools.yaml