add KestrelServerOptionsSystemdExtensions.UseSystemd at startup

pull/11542/head
rektide de la faye 3 weeks ago
parent 717b726329
commit 192f17711a

@ -83,6 +83,9 @@ public static class WebHostBuilderExtensions
options.ListenUnixSocket(socketPath);
logger.LogInformation("Kestrel listening to unix socket {SocketPath}", socketPath);
}
// look for LISTEN_FDS and listen on those sockets
KestrelServerOptionsSystemdExtensions.UseSystemd(options);
})
.UseStartup(_ => new Startup(appHost));
}

Loading…
Cancel
Save