Adding a dependency on EventLog

pull/2/head
Mark McDowall 11 years ago
parent 9b5e56704e
commit 93e9816d24

@ -71,7 +71,7 @@ namespace NzbDrone.Common
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;

@ -26,7 +26,7 @@ namespace ServiceInstall
{ {
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;
} }

Loading…
Cancel
Save