Adding a dependency on EventLog
This commit is contained in:
parent
9b5e56704e
commit
93e9816d24
|
@ -71,7 +71,7 @@ namespace NzbDrone.Common
|
|||
serviceInstaller.ServiceName = serviceName;
|
||||
serviceInstaller.Description = "NzbDrone Application Server";
|
||||
serviceInstaller.StartType = ServiceStartMode.Automatic;
|
||||
serviceInstaller.ServicesDependedOn = new[] { "Tcpip" };
|
||||
serviceInstaller.ServicesDependedOn = new[] { "EventLog", "Tcpip" };
|
||||
|
||||
serviceInstaller.Parent = installer;
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace ServiceInstall
|
|||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue