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:
commit
2bc34e2d57
2 changed files with 2 additions and 1 deletions
|
@ -71,6 +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[] { "EventLog", "Tcpip" };
|
||||||
|
|
||||||
serviceInstaller.Parent = installer;
|
serviceInstaller.Parent = installer;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue