resonite/scripts/99_start.sh
merith-tk 6531e9422a
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 5m30s
push headless config
2024-11-18 20:30:43 -08:00

18 lines
No EOL
497 B
Bash

#!/bin/bash
if [ "$STOP_LAUNCH" == "true" ]; then
echo "STOP_LAUNCH is set to true, exiting..."
exit 0
fi
# Check if Crystite is enabled
if [ "$USE_CRYSTITE" == "true" ]; then
echo "Running Crystite"
echo "exec: /usr/lib/crystite/crystite"
/usr/lib/crystite/crystite
else
cd /data/resonite/Headless || exit
echo "Running Resonite"
echo "exec: mono Resonite.exe $DEFAULT_RESONITE_ARGS $RESONITE_ARGS"
mono Resonite.exe $DEFAULT_RESONITE_ARGS $RESONITE_ARGS
fi