chore(systemd): remove obsolete systemd service files and update infrastructure documentation
- Remove 8 unused systemd service files from coordinator-api/systemd/ - aitbc-adaptive-learning.service (port 8005) - aitbc-advanced-ai.service - aitbc-enterprise-api.service - aitbc-gpu-multimodal.service (port 8003) - aitbc-marketplace-enhanced.service (port 8006) - aitbc-modality-optimization.service (port 8004) - aitbc-multimodal.service (port 8002) - aitbc-openclaw-enhanced.service (port 8007
This commit is contained in:
22
dev/ops/start_remote_tunnel.sh
Executable file
22
dev/ops/start_remote_tunnel.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# Start SSH tunnel to remote AITBC coordinator
|
||||
|
||||
echo "Starting SSH tunnel to remote AITBC coordinator..."
|
||||
|
||||
# Check if tunnel is already running
|
||||
if pgrep -f "ssh.*-L.*8001:localhost:8000.*aitbc" > /dev/null; then
|
||||
echo "✅ Tunnel is already running"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Start the tunnel
|
||||
ssh -f -N -L 8001:localhost:8000 aitbc
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "✅ SSH tunnel established on port 8001"
|
||||
echo " Remote coordinator available at: http://localhost:8001"
|
||||
echo " Health check: curl http://localhost:8001/v1/health"
|
||||
else
|
||||
echo "❌ Failed to establish SSH tunnel"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user