Partajați prin


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)

Configures the lifetime of the IHost built from services to SystemdLifetime, provides notification messages for application started and stopping, and configures console logging to the systemd format.

UseSystemd(IHostBuilder)

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

Applies to