hotfix for telemetry hotfix for profiles config
This commit is contained in:
+17
-4
@@ -56,10 +56,23 @@ setup_alacritty() {
|
||||
|
||||
# Start socktop agent
|
||||
start_socktop_agent() {
|
||||
echo "Starting socktop-agent on port 3000..."
|
||||
echo "Starting socktop-agent on port 3001..."
|
||||
|
||||
# Don't start the agent here - supervisor will handle it
|
||||
echo "socktop-agent will be started by supervisor"
|
||||
# Start socktop-agent in the background on port 3001
|
||||
/usr/bin/socktop_agent --port 3001 > /tmp/socktop-agent.log 2>&1 &
|
||||
AGENT_PID=$!
|
||||
|
||||
echo "socktop-agent started (PID: $AGENT_PID)"
|
||||
|
||||
# Give it a moment to start
|
||||
sleep 1
|
||||
|
||||
# Check if it's running
|
||||
if kill -0 $AGENT_PID 2>/dev/null; then
|
||||
echo " ✓ socktop-agent is running on port 3001"
|
||||
else
|
||||
echo " ⚠ socktop-agent may have failed to start (check /tmp/socktop-agent.log)"
|
||||
fi
|
||||
}
|
||||
|
||||
# Main initialization
|
||||
@@ -82,7 +95,7 @@ main() {
|
||||
echo ""
|
||||
echo "Services:"
|
||||
echo " - Webterm: http://localhost:8082"
|
||||
echo " - Socktop Agent: localhost:3001"
|
||||
echo " - Socktop Agent: ws://localhost:3001/ws"
|
||||
echo ""
|
||||
|
||||
# Execute the main command
|
||||
|
||||
Reference in New Issue
Block a user