159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
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(-)
|
|
|
|
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<IWindowsServiceControlManager>();
|
|
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
|
|
}
|
|
|
|
--
|
|
2.38.1
|
|
|