mirror of
https://github.com/opensim/opensim.git
synced 2026-05-17 04:05:40 +08:00
29 lines
629 B
C#
29 lines
629 B
C#
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();
|
|
|
|
GridServerBase app = new GridServerBase();
|
|
|
|
if (args.Length > 0 && args[0] == "-setuponly")
|
|
{
|
|
app.Config();
|
|
}
|
|
else
|
|
{
|
|
app.Startup();
|
|
app.Work();
|
|
}
|
|
}
|
|
}
|
|
}
|