view mrjunejune/inference_sidecar_launcher.sh @ 269:de291f396881

install initial production config Copy the ignored repository config into /etc/mrjunejune on first deployment while preserving existing production configuration on later deploys. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 13:08:10 -0700
parents 1f9877b637e9
children
line wrap: on
line source

#!/usr/bin/env bash
set -euo pipefail

: "${MRJUNEJUNE_PYTHON_PATH:?MRJUNEJUNE_PYTHON_PATH must be set}"
: "${MRJUNEJUNE_SIDECAR_ZIP:?MRJUNEJUNE_SIDECAR_ZIP must be set}"

exec "$MRJUNEJUNE_PYTHON_PATH" "$MRJUNEJUNE_SIDECAR_ZIP" "$@"