1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Adding a dependency on EventLog

This commit is contained in:
Mark McDowall 2013-10-11 15:45:45 -07:00
parent 9b5e56704e
commit 93e9816d24
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ public virtual void Install(string serviceName)
serviceInstaller.ServiceName = serviceName; serviceInstaller.ServiceName = serviceName;
serviceInstaller.Description = "NzbDrone Application Server"; serviceInstaller.Description = "NzbDrone Application Server";
serviceInstaller.StartType = ServiceStartMode.Automatic; serviceInstaller.StartType = ServiceStartMode.Automatic;
serviceInstaller.ServicesDependedOn = new[] { "Tcpip" }; serviceInstaller.ServicesDependedOn = new[] { "EventLog", "Tcpip" };
serviceInstaller.Parent = installer; serviceInstaller.Parent = installer;

View File

@ -26,7 +26,7 @@ public static void Run(string arg)
{ {
if (!File.Exists(NzbDroneExe)) if (!File.Exists(NzbDroneExe))
{ {
Console.WriteLine("Unable to find NzbDrone.exe in the current directory."); Console.WriteLine("Unable to find NzbDrone.Console.exe in the current directory.");
return; return;
} }