summary refs log tree commit diff
path: root/pkgs/development/tools/continuous-integration/github-runner/patches/dont-install-systemd-service.patch
blob: 6279a4ecb4b9f70b2a19df3f00eabd200c5772fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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<ILinuxServiceControlManager>();
-            serviceControlManager.GenerateScripts(runnerSettings);
 #endif
         }