another one
parent
b6c23fe911
commit
8195cd5153
|
@ -143,7 +143,7 @@ namespace OpenSim
|
|||
//Mono.Unix.Native.Signum signal = signals [index].Signum;
|
||||
MainConsole.Instance.RunCommand("shutdown");
|
||||
}
|
||||
});
|
||||
});
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
|
@ -165,6 +165,7 @@ namespace OpenSim
|
|||
{
|
||||
new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
|
||||
};
|
||||
signal_thread.IsBackground = true;
|
||||
signal_thread.Start();
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -485,6 +486,12 @@ namespace OpenSim
|
|||
RunCommandScript(m_shutdownCommandsFile);
|
||||
}
|
||||
|
||||
if (m_timedScript != "disabled")
|
||||
{
|
||||
m_scriptTimer.Dispose();
|
||||
m_timedScript = "disabled";
|
||||
}
|
||||
|
||||
base.ShutdownSpecific();
|
||||
}
|
||||
|
||||
|
|
|
@ -211,6 +211,7 @@ namespace OpenSim.Server.Base
|
|||
{
|
||||
new Mono.Unix.UnixSignal(Mono.Unix.Native.Signum.SIGTERM)
|
||||
};
|
||||
ignal_thread.IsBackground = true;
|
||||
signal_thread.Start();
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Reference in New Issue