* Move most bookending startup/shutdown messages to BaseOpenSimServer so they appear in non-console servers too

This commit is contained in:
Justin Clarke Casey
2008-06-01 02:02:20 +00:00
parent 15d41c2fc2
commit fbaeb081aa
4 changed files with 6 additions and 31 deletions

View File

@@ -60,8 +60,6 @@ namespace OpenSim.Grid.AssetServer
{
XmlConfigurator.Configure();
m_log.Info("Starting...\n");
assetserver = new OpenAsset_Main();
assetserver.Startup();
@@ -175,18 +173,5 @@ namespace OpenSim.Grid.AssetServer
{
m_assetProvider.CreateAsset(asset);
}
public override void RunCmd(string cmd, string[] cmdparams)
{
base.RunCmd(cmd, cmdparams);
switch (cmd)
{
case "shutdown":
m_console.Close();
Environment.Exit(0);
break;
}
}
}
}