aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer/Program.cs
blob: 7247a6366e2873a1bb3857467c3ff77091930e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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();
            }
        }
    }
}