diff options
author | lbsa71 | 2008-03-12 10:13:19 +0000 |
---|---|---|
committer | lbsa71 | 2008-03-12 10:13:19 +0000 |
commit | 3f45cfc5917af6d46f9d17eea01bf433bddd3d15 (patch) | |
tree | def545a4d409a4c05148fc925c90a2c40f586b44 /OpenSim/Grid/GridServer/Program.cs | |
parent | * Refactored some internals in Grid Server Main (diff) | |
download | opensim-SC_OLD-3f45cfc5917af6d46f9d17eea01bf433bddd3d15.zip opensim-SC_OLD-3f45cfc5917af6d46f9d17eea01bf433bddd3d15.tar.gz opensim-SC_OLD-3f45cfc5917af6d46f9d17eea01bf433bddd3d15.tar.bz2 opensim-SC_OLD-3f45cfc5917af6d46f9d17eea01bf433bddd3d15.tar.xz |
* Refactored out exe bit out of Grid Server for great justice
Diffstat (limited to 'OpenSim/Grid/GridServer/Program.cs')
-rw-r--r-- | OpenSim/Grid/GridServer/Program.cs | 28 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenSim.Framework.Console; | ||
5 | |||
6 | namespace 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 | } | ||