allow service to restart itself

This commit is contained in:
Luke Pulverenti
2013-09-27 17:09:21 -04:00
parent df29ed5a6f
commit 207fbbbcc3
4 changed files with 124 additions and 74 deletions

View File

@@ -81,7 +81,7 @@ namespace MediaBrowser.Server.Mono
private static ServerApplicationPaths CreateApplicationPaths()
{
return new ServerApplicationPaths("D:\\MonoTest");
return new ServerApplicationPaths();
}
private static void RunApplication(ServerApplicationPaths appPaths, ILogManager logManager)

View File

@@ -7,7 +7,7 @@
<targets async="true"></targets>
</nlog>
<appSettings>
<add key="DebugProgramDataPath" value="..\..\..\..\ProgramData-Server" />
<add key="DebugProgramDataPath" value="ProgramData-Server" />
<add key="ReleaseProgramDataPath" value="%ApplicationData%" />
<add key="ProgramDataFolderName" value="MediaBrowser-Server" />
</appSettings>