Implementation of basic PatchComplianceTask. First real iteration, basic/raw asf.
15 lines
313 B
C#
15 lines
313 B
C#
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<Worker>();
|
|
|
|
var host = builder.Build();
|
|
host.Run();
|