mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
get PID from Environment.ProcessId
This commit is contained in:
@@ -226,11 +226,11 @@ namespace OpenSim
|
||||
throw new Exception("CombineContiguousRegions not suported");
|
||||
}
|
||||
|
||||
string pidFile = startupConfig.GetString("PIDFile", String.Empty);
|
||||
if (pidFile != String.Empty)
|
||||
string pidFile = startupConfig.GetString("PIDFile", string.Empty);
|
||||
if (pidFile.Length > 0)
|
||||
CreatePIDFile(pidFile);
|
||||
|
||||
userStatsURI = startupConfig.GetString("Stats_URI", String.Empty);
|
||||
userStatsURI = startupConfig.GetString("Stats_URI", string.Empty);
|
||||
|
||||
m_securePermissionsLoading = startupConfig.GetBoolean("SecurePermissionsLoading", true);
|
||||
|
||||
@@ -355,7 +355,7 @@ namespace OpenSim
|
||||
|
||||
// Sure is not the right place for this but do the job...
|
||||
// Must always be called before (all) / the HTTP servers starting for the Certs creation or renewals.
|
||||
if(startupConfig.GetBoolean("EnableSelfsignedCertSupport", false))
|
||||
if (startupConfig.GetBoolean("EnableSelfsignedCertSupport", false))
|
||||
{
|
||||
if(!File.Exists("SSL\\ssl\\"+ startupConfig.GetString("CertFileName") +".p12") || startupConfig.GetBoolean("CertRenewOnStartup"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user