resonite/scripts/99_start.sh

18 lines
497 B
Bash
Raw Normal View History

2024-11-19 04:30:43 +00:00
#!/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