For extensions of base system like podman and btrfs: Started improving server abstractions to make it more extendable in order to support multiple implementations
This commit is contained in:
12
MoonlightServers.Daemon/ServerSys/Abstractions/IInstaller.cs
Normal file
12
MoonlightServers.Daemon/ServerSys/Abstractions/IInstaller.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace MoonlightServers.Daemon.ServerSys.Abstractions;
|
||||
|
||||
public interface IInstaller : IServerComponent
|
||||
{
|
||||
public IAsyncObservable<object> OnExited { get; set; }
|
||||
|
||||
public Task Start();
|
||||
public Task Abort();
|
||||
public Task Cleanup();
|
||||
|
||||
public Task<ServerCrash?> SearchForCrash();
|
||||
}
|
||||
Reference in New Issue
Block a user