agentic-labs/lsproxy-tutorial
0
1#!/bin/bash2 3cd /app4/lsproxy &5LSPROXY_PID=$!6 7marimo run tutorial.py --host 0.0.0.0 --port 7860 &8MARIMO_PID=$!9 10# Handle shutdown gracefully11cleanup() {12 echo "Shutting down processes..."13 kill $LSPROXY_PID14 kill $MARIMO_PID15 exit 016}17 18trap cleanup SIGTERM SIGINT19 20# Wait for either process to exit21wait $LSPROXY_PID $MARIMO_PID22 