diff --git a/src/Tgstation.Server.Client/Components/DreamDaemonClient.cs b/src/Tgstation.Server.Client/Components/DreamDaemonClient.cs index 10f72d0ffe..e077ea142d 100644 --- a/src/Tgstation.Server.Client/Components/DreamDaemonClient.cs +++ b/src/Tgstation.Server.Client/Components/DreamDaemonClient.cs @@ -35,6 +35,9 @@ namespace Tgstation.Server.Client.Components /// public Task Start(CancellationToken cancellationToken) => apiClient.Create(Routes.DreamDaemon, instance.Id, cancellationToken); + /// + public Task Restart(CancellationToken cancellationToken) => apiClient.Patch(Routes.DreamDaemon, instance.Id, cancellationToken); + /// public Task Read(CancellationToken cancellationToken) => apiClient.Read(Routes.DreamDaemon, instance.Id, cancellationToken); diff --git a/src/Tgstation.Server.Client/Components/IDreamDaemonClient.cs b/src/Tgstation.Server.Client/Components/IDreamDaemonClient.cs index 764ddfbc23..7b858cba6b 100644 --- a/src/Tgstation.Server.Client/Components/IDreamDaemonClient.cs +++ b/src/Tgstation.Server.Client/Components/IDreamDaemonClient.cs @@ -20,9 +20,16 @@ namespace Tgstation.Server.Client.Components /// Start /// /// The for the operation - /// A resulting in the information + /// A resulting in the of the running operation Task Start(CancellationToken cancellationToken); + /// + /// Restart + /// + /// The for the operation + /// A resulting in the of the running operation + Task Restart(CancellationToken cancellationToken); + /// /// Shutdown ///