diff --git a/src/Runner.Listener/Configuration/ConfigurationManager.cs b/src/Runner.Listener/Configuration/ConfigurationManager.cs index 8d08b06..bdfa3a2 100644 --- a/src/Runner.Listener/Configuration/ConfigurationManager.cs +++ b/src/Runner.Listener/Configuration/ConfigurationManager.cs @@ -320,10 +320,6 @@ namespace GitHub.Runner.Listener.Configuration 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 }