generated from oci/template
merith-tk
6531e9422a
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 5m30s
18 lines
No EOL
497 B
Bash
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 |