1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-31 11:22:06 +00:00

Merge pull request #41 from NzbDrone/service-dependencies

Service dependencies
This commit is contained in:
Mark McDowall 2013-11-29 17:26:48 -08:00
commit 2bc34e2d57
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -26,7 +26,7 @@ public static void Run(string arg)
{
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;
}