Systemd.TransientUnit.Property (systemd v0.1.0-pre.1)

Copy Markdown View Source

A typed systemd transient-unit property.

Systemd's StartTransientUnit expects properties as D-Bus (sv) structs. This struct keeps that contract explicit instead of passing anonymous tuples or lists through the public API.

Summary

Functions

Builds a transient-unit property.

Types

t()

@type t() :: %Systemd.TransientUnit.Property{
  name: String.t(),
  signature: String.t(),
  value: term()
}

Functions

new(name, signature, value)

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

Builds a transient-unit property.