mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
get PID from Environment.ProcessId
This commit is contained in:
@@ -180,9 +180,10 @@ namespace OpenSim.Server.Base
|
||||
RegisterCommonAppenders(startupConfig);
|
||||
LogEnvironmentInformation();
|
||||
|
||||
if (startupConfig.GetString("PIDFile", String.Empty) != String.Empty)
|
||||
string pidfile = startupConfig.GetString("PIDFile", string.Empty);
|
||||
if (pidfile.Length > 0)
|
||||
{
|
||||
CreatePIDFile(startupConfig.GetString("PIDFile"));
|
||||
CreatePIDFile(pidfile);
|
||||
}
|
||||
|
||||
RegisterCommonCommands();
|
||||
|
||||
Reference in New Issue
Block a user