#W# Tweak: Added server run check to Run.sh.
This commit is contained in:
parent
b9dd700ec6
commit
933093467b
1 changed files with 12 additions and 2 deletions
14
Run.sh
14
Run.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue