push headless config
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 5m30s

This commit is contained in:
merith-tk 2024-11-18 20:30:43 -08:00
parent 2c60c679ac
commit 6531e9422a
10 changed files with 363 additions and 1 deletions

18
scripts/99_start.sh Normal file
View file

@ -0,0 +1,18 @@
#!/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