1 From 369b3d98b44abbf061080ab1b17b22f99706ef69 Mon Sep 17 00:00:00 2001
2 From: Vincent Haupert <mail@vincent-haupert.de>
3 Date: Sun, 26 Feb 2023 12:55:38 +0100
4 Subject: [PATCH] Don't generate service config on Linux and OSX
7 src/Runner.Listener/Configuration/ConfigurationManager.cs | 5 -----
8 1 file changed, 5 deletions(-)
10 diff --git a/src/Runner.Listener/Configuration/ConfigurationManager.cs b/src/Runner.Listener/Configuration/ConfigurationManager.cs
11 index 392eb0e..4c75324 100644
12 --- a/src/Runner.Listener/Configuration/ConfigurationManager.cs
13 +++ b/src/Runner.Listener/Configuration/ConfigurationManager.cs
14 @@ -367,11 +367,6 @@ namespace GitHub.Runner.Listener.Configuration
15 var serviceControlManager = HostContext.GetService<IWindowsServiceControlManager>();
16 serviceControlManager.ConfigureService(runnerSettings, command);
19 -#elif OS_LINUX || OS_OSX
20 - // generate service config script for OSX and Linux, GenerateScripts() will no-opt on windows.
21 - var serviceControlManager = HostContext.GetService<ILinuxServiceControlManager>();
22 - serviceControlManager.GenerateScripts(runnerSettings);