Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix API run script

Tomas Valenta349a2ec6da3a
diff --git a/api-service/start.sh b/api-service/start.sh
index a8d40b76f..bc1a0e2b8 100755
--- a/api-service/start.sh
+++ b/api-service/start.sh
@@ -4,7 +4,7 @@
cd /playground && exec node lib/server.js &
# Start python app
-cd /app && exec OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES poetry run opentelemetry-instrument --service_name agent-api --exporter_otlp_endpoint \"ingest.lightstep.com:443\" --traces_exporter otlp_proto_grpc --metrics_exporter otlp_proto_grpc gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 14 --timeout 120 app:app -k uvicorn.workers.UvicornWorker &
+cd /app && OBJC_DISABLE_INITIALIZE_FORK_SAFETY="YES" exec poetry run opentelemetry-instrument --service_name agent-api --exporter_otlp_endpoint \"ingest.lightstep.com:443\" --traces_exporter otlp_proto_grpc --metrics_exporter otlp_proto_grpc gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 14 --timeout 120 app:app -k uvicorn.workers.UvicornWorker &
# Wait for any process to exit
wait -n