mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
Do not support 510 with system watchdog on Linux
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
|
||||
/datum/tgs_api/v5/New()
|
||||
. = ..()
|
||||
#if DM_VERSION < 511
|
||||
TGS_WARNING_LOG("TGS V5 interop does not support the non-basic watchdog on versions prior to 511! Make sure you've configured the basic watchdog in TGS setting or update BYOND!")
|
||||
#endif
|
||||
TGS_DEBUG_LOG("V5 API created")
|
||||
|
||||
/datum/tgs_api/v5/ApiVersion()
|
||||
|
||||
@@ -1120,7 +1120,10 @@ namespace Tgstation.Server.Tests.Live
|
||||
var compatTests = FailFast(
|
||||
instanceTest
|
||||
.RunCompatTests(
|
||||
new Version(510, 1346),
|
||||
// linux 510 has a critical bug where replacing the directory in non-basic watchdogs causes the DreamDaemon cwd to change
|
||||
new PlatformIdentifier().IsWindows || Environment.GetEnvironmentVariable("General__UseBasicWatchdog") == "true"
|
||||
? new Version(510, 1346)
|
||||
: new Version(511, 1385),
|
||||
adminClient.Instances.CreateClient(compatInstance),
|
||||
compatDMPort,
|
||||
compatDDPort,
|
||||
|
||||
Reference in New Issue
Block a user