From 369b3d98b44abbf061080ab1b17b22f99706ef69 Mon Sep 17 00:00:00 2001 From: Vincent Haupert Date: Sun, 26 Feb 2023 12:55:38 +0100 Subject: [PATCH] Don't generate service config on Linux and OSX --- src/Runner.Listener/Configuration/ConfigurationManager.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Runner.Listener/Configuration/ConfigurationManager.cs b/src/Runner.Listener/Configuration/ConfigurationManager.cs index 392eb0e..4c75324 100644 --- a/src/Runner.Listener/Configuration/ConfigurationManager.cs +++ b/src/Runner.Listener/Configuration/ConfigurationManager.cs @@ -367,11 +367,6 @@ namespace GitHub.Runner.Listener.Configuration var serviceControlManager = HostContext.GetService(); serviceControlManager.ConfigureService(runnerSettings, command); } - -#elif OS_LINUX || OS_OSX - // generate service config script for OSX and Linux, GenerateScripts() will no-opt on windows. - var serviceControlManager = HostContext.GetService(); - serviceControlManager.GenerateScripts(runnerSettings); #endif } -- 2.38.1