From 0c2b3e0f2c7a6507b9636d15b61d88503b0279fd Mon Sep 17 00:00:00 2001 From: Dominion Date: Sat, 25 Mar 2023 13:14:45 -0400 Subject: [PATCH] Disable delayed autostart --- build/Version.props | 2 +- src/Tgstation.Server.Host.Service/Program.cs | 1 - tools/Tgstation.Server.Migrator/Program.cs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build/Version.props b/build/Version.props index a165f87f99..d192e1adb2 100644 --- a/build/Version.props +++ b/build/Version.props @@ -10,7 +10,7 @@ 11.2.1 6.0.6 5.3.0 - 1.2.0 + 1.2.1 1.2.1 1.0.1 net6.0 diff --git a/src/Tgstation.Server.Host.Service/Program.cs b/src/Tgstation.Server.Host.Service/Program.cs index 673accd9a0..ca5facbfd4 100644 --- a/src/Tgstation.Server.Host.Service/Program.cs +++ b/src/Tgstation.Server.Host.Service/Program.cs @@ -152,7 +152,6 @@ namespace Tgstation.Server.Host.Service installer.Context = new InstallContext("tgs-install.log", new string[] { String.Format(CultureInfo.InvariantCulture, "/assemblypath={0}", Assembly.GetEntryAssembly().Location) }); installer.Description = "/tg/station 13 server running as a windows service"; installer.DisplayName = "/tg/station server"; - installer.DelayedAutoStart = true; installer.StartType = ServiceStartMode.Automatic; installer.ServicesDependedOn = new string[] { "Tcpip", "Dhcp", "Dnscache" }; installer.ServiceName = ServerService.Name; diff --git a/tools/Tgstation.Server.Migrator/Program.cs b/tools/Tgstation.Server.Migrator/Program.cs index 4b1df26adc..0a7cb5654e 100644 --- a/tools/Tgstation.Server.Migrator/Program.cs +++ b/tools/Tgstation.Server.Migrator/Program.cs @@ -417,7 +417,6 @@ try }); installer.Description = "/tg/station 13 server running as a windows service"; installer.DisplayName = "/tg/station server"; - installer.DelayedAutoStart = true; installer.StartType = ServiceStartMode.Automatic; installer.ServicesDependedOn = new string[] { "Tcpip", "Dhcp", "Dnscache" }; installer.ServiceName = "tgstation-server";