RAIDAlert/Program.cs

11 lines
209 B
C#
Raw Normal View History

2023-07-12 15:05:59 +02:00
using RAIDAlert;
IHost host = Host.CreateDefaultBuilder(args)
.UseWindowsService()
.ConfigureServices(services =>
{
services.AddHostedService<Watchdog>();
})
.Build();
host.Run();