1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-31 07:52:37 +01:00
Sonarr/NzbDrone/Program.cs

26 lines
665 B
C#
Raw Normal View History

2010-10-10 21:00:07 +02:00
using NLog;
2010-10-08 00:17:24 +02:00
using NzbDrone.Core;
2010-09-23 05:19:47 +02:00
2010-10-10 21:00:07 +02:00
namespace NzbDrone
2010-09-23 05:19:47 +02:00
{
class Program
{
2010-10-08 00:17:24 +02:00
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
2010-09-23 05:19:47 +02:00
static void Main(string[] args)
{
2010-10-08 00:17:24 +02:00
CentralDispatch.ConfigureNlog();
2010-10-10 21:00:07 +02:00
CentralDispatch.BindKernel();
2010-10-08 00:17:24 +02:00
Logger.Info("Starting NZBDrone WebUI");
2010-10-02 21:01:43 +02:00
var server = new CassiniDev.Server(@"D:\My Dropbox\Git\NzbDrone\NzbDrone.Web");
server.Start();
2010-09-23 05:19:47 +02:00
2010-10-02 21:01:43 +02:00
System.Diagnostics.Process.Start(server.RootUrl);
2010-10-08 00:17:24 +02:00
Logger.Info("Server available at: " + server.RootUrl);
2010-09-23 05:19:47 +02:00
System.Console.ReadLine();
}
}
}