Implemented more life cycle handling. Added support for rootless environments
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using MoonlightServers.Daemon.Models;
|
||||
using MoonlightServers.DaemonShared.Enums;
|
||||
|
||||
namespace MoonlightServers.Daemon.Extensions.ServerExtensions;
|
||||
|
||||
public static class ServerMetaExtensions
|
||||
{
|
||||
public static async Task NotifyTask(this Server server, ServerTask task)
|
||||
{
|
||||
server.Logger.LogInformation("Task: {task}", task);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user