mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Refactored out exe bit out of Grid Server for great justice
This commit is contained in:
28
OpenSim/Grid/GridServer/Program.cs
Normal file
28
OpenSim/Grid/GridServer/Program.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using OpenSim.Framework.Console;
|
||||
|
||||
namespace OpenSim.Grid.GridServer
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
[STAThread]
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
log4net.Config.XmlConfigurator.Configure();
|
||||
|
||||
OpenGrid_Main app = new OpenGrid_Main();
|
||||
|
||||
if (args.Length > 0 && args[0] == "-setuponly")
|
||||
{
|
||||
app.Config();
|
||||
}
|
||||
else
|
||||
{
|
||||
app.Startup();
|
||||
app.Work();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user