aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/GridServer/Program.cs')
-rw-r--r--OpenSim/Grid/GridServer/Program.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/OpenSim/Grid/GridServer/Program.cs b/OpenSim/Grid/GridServer/Program.cs
new file mode 100644
index 0000000..7247a63
--- /dev/null
+++ b/OpenSim/Grid/GridServer/Program.cs
@@ -0,0 +1,28 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenSim.Framework.Console;
5
6namespace OpenSim.Grid.GridServer
7{
8 public class Program
9 {
10 [STAThread]
11 public static void Main(string[] args)
12 {
13 log4net.Config.XmlConfigurator.Configure();
14
15 OpenGrid_Main app = new OpenGrid_Main();
16
17 if (args.Length > 0 && args[0] == "-setuponly")
18 {
19 app.Config();
20 }
21 else
22 {
23 app.Startup();
24 app.Work();
25 }
26 }
27 }
28}