2023-03-08 16:32:21 +00:00
|
|
|
From 369b3d98b44abbf061080ab1b17b22f99706ef69 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Vincent Haupert <mail@vincent-haupert.de>
|
|
|
|
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(-)
|
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
diff --git a/src/Runner.Listener/Configuration/ConfigurationManager.cs b/src/Runner.Listener/Configuration/ConfigurationManager.cs
|
2023-03-08 16:32:21 +00:00
|
|
|
index 392eb0e..4c75324 100644
|
2021-04-12 18:23:04 +00:00
|
|
|
--- a/src/Runner.Listener/Configuration/ConfigurationManager.cs
|
|
|
|
+++ b/src/Runner.Listener/Configuration/ConfigurationManager.cs
|
2023-03-08 16:32:21 +00:00
|
|
|
@@ -367,11 +367,6 @@ namespace GitHub.Runner.Listener.Configuration
|
|
|
|
var serviceControlManager = HostContext.GetService<IWindowsServiceControlManager>();
|
2021-04-12 18:23:04 +00:00
|
|
|
serviceControlManager.ConfigureService(runnerSettings, command);
|
|
|
|
}
|
2023-03-08 16:32:21 +00:00
|
|
|
-
|
2021-04-12 18:23:04 +00:00
|
|
|
-#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
|
|
|
|
}
|
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
--
|
|
|
|
2.38.1
|
|
|
|
|