#156 - Allow server to run as a service

This commit is contained in:
Luke Pulverenti
2013-09-30 11:15:47 -04:00
parent 29fd559f0a
commit d564dd6786
2 changed files with 8 additions and 1 deletions

View File

@@ -582,7 +582,8 @@ namespace MediaBrowser.ServerApplication
Id = _systemId,
ProgramDataPath = ApplicationPaths.ProgramDataPath,
MacAddress = GetMacAddress(),
HttpServerPortNumber = ServerConfigurationManager.Configuration.HttpServerPortNumber
HttpServerPortNumber = ServerConfigurationManager.Configuration.HttpServerPortNumber,
OperatingSystem = Environment.OSVersion.ToString()
};
}