#!/bin/bash
if [ "$STOP_LAUNCH" == "true" ]; then
echo "STOP_LAUNCH is set to true, exiting..."
exit 0
fi
cd /data/resonite/Headless || exit
echo "Running Resonite"
echo "exec: dotnet Resonite.dll $DEFAULT_RESONITE_ARGS $RESONITE_ARGS"
dotnet Resonite.dll $DEFAULT_RESONITE_ARGS $RESONITE_ARGS