#W# Tweak: Added server run check to Run.sh.

This commit is contained in:
WarrentyExpired 2026-09-01 12:23:24 -04:00
parent b9dd700ec6
commit 933093467b

14
Run.sh
View file

@ -1,2 +1,12 @@
echo "Starting Server...."
dotnet ./Distribution/ModernUO.dll
#!/usr/bin/env bash
if ( gprep -f ModernUO.dll > /dev/null)
then
echo "________________________________"
echo "| A Server is already running!! "
echo "--------------------------------"
else
echo "________________________________"
echo "| Starting Server...."
echo "--------------------------------"
dotnet ./Distribution/ModernUO.dll
fi