HostKit.SystemdRuntime (host_kit v0.1.0-beta.6)

Copy Markdown View Source

Systemd runtime operations for HostKit apply and readiness.

Summary

Functions

active?(unit, opts)

@spec active?(
  String.t(),
  keyword()
) :: :ok | {:error, term()}

reload(opts \\ [])

@spec reload(keyword()) :: :ok | {:error, term()}

restart(unit, opts)

@spec restart(
  HostKit.Readiness.Systemd.t() | String.t(),
  keyword()
) :: :ok | {:error, term()}