using OversightService; var builder = Host.CreateApplicationBuilder(args); // Configure Windows Service with custom service name builder.Services.AddWindowsService(options => { options.ServiceName = "PSG-Oversight"; }); builder.Services.AddHostedService(); var host = builder.Build(); host.Run();