mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
* Move most bookending startup/shutdown messages to BaseOpenSimServer so they appear in non-console servers too
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user