Unitctl.Instance (unitctl v0.1.0)

Copy Markdown View Source

A systemd-backed runtime instance started by unitctl.

Summary

Functions

Builds an instance from a spec and optional systemd job.

Types

t()

@type t() :: %Unitctl.Instance{
  job: Systemd.Job.t() | nil,
  name: String.t(),
  spec: Unitctl.Spec.t() | nil,
  unit: String.t()
}

Functions

new(spec, job \\ nil)

@spec new(Unitctl.Spec.t(), Systemd.Job.t() | nil) :: t()

Builds an instance from a spec and optional systemd job.