mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Conditional for mimicking the presence of the host watchdog
This commit is contained in:
@@ -21,7 +21,12 @@ namespace Tgstation.Server.Host
|
||||
public bool RestartRequested { get; private set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool WatchdogPresent => updatePath != null;
|
||||
public bool WatchdogPresent =>
|
||||
#if WATCHDOG_FREE_RESTART
|
||||
true;
|
||||
#else
|
||||
updatePath != null;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="IHostBuilder"/> for the <see cref="Server"/>
|
||||
|
||||
Reference in New Issue
Block a user