HostKit.Readiness.Systemd (host_kit v0.1.0-beta.0)

Copy Markdown View Source

Systemd readiness check.

Summary

Types

t()

@type t() :: %HostKit.Readiness.Systemd{
  kill: boolean(),
  restart: boolean(),
  state: :active,
  unit: String.t()
}

Functions

new(unit, opts \\ [])

@spec new(
  String.t(),
  keyword()
) :: t()