15 lines
483 B
Bash
Executable file
15 lines
483 B
Bash
Executable file
#!/usr/bin/env bash
|
|
if ( pgrep -f ModernUO.dll > /dev/null)
|
|
then
|
|
echo "________________________________"
|
|
echo "| A Server is already running!! "
|
|
echo "--------------------------------"
|
|
else
|
|
echo ""
|
|
echo "________________________________"
|
|
echo "| Starting Server...."
|
|
echo "--------------------------------"
|
|
#dotnet publish Projects/Application/Application.csproj -c Release -r linux-x64 --self-contained=false &&
|
|
#sleep 2 &&
|
|
dotnet ./Distribution/ModernUO.dll
|
|
fi
|