SystemdHostBuilderExtensions Class

Definition

Extension methods for setting up SystemdLifetime.

public ref class SystemdHostBuilderExtensions abstract sealed
public static class SystemdHostBuilderExtensions
type SystemdHostBuilderExtensions = class
Public Module SystemdHostBuilderExtensions
Inheritance
SystemdHostBuilderExtensions

Methods

AddSystemd(IServiceCollection)
UseSystemd(IHostBuilder)

Sets the host lifetime to SystemdLifetime, provides notification messages for application started and stopping, and configures console logging to the systemd format.

Applies to