mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 14:06:41 +01:00
Use WATCHDOG=1 as initial sd_notify command
This commit is contained in:
@@ -104,7 +104,7 @@ namespace Tgstation.Server.Host.System
|
||||
/// <inheritdoc />
|
||||
public Task StartAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
if (SendSDNotify("RELOADING=1"))
|
||||
if (SendSDNotify("WATCHDOG=1"))
|
||||
{
|
||||
logger.LogDebug("SystemD detected");
|
||||
runTask = RunAsync(watchdogCts.Token);
|
||||
|
||||
Reference in New Issue
Block a user