CoolFace
Apppublic

agentic-labs/lsproxy-tutorial

sourceHugging Faceagpl-3.0updated 2y agoView on Hugging Face
0likes
start.sh22 linesDownload Raw Back to root
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