1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02: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;
}