Systemd.TransientUnit (systemdkit v0.1.1)

Copy Markdown View Source

Constructors for systemd transient units.

Summary

Functions

Creates a boolean property.

Creates a CPU quota property in microseconds per second.

Creates an ExecStart property.

Creates a memory limit property such as MemoryMax.

Creates a typed transient-unit property.

Creates a string property.

Creates a task-count limit property such as TasksMax.

Creates an unsigned 64-bit property.

Types

property()

@type property() :: Systemd.TransientUnit.Property.t()

Functions

boolean(name, value)

Creates a boolean property.

cpu_quota_per_sec_usec(usec)

@spec cpu_quota_per_sec_usec(non_neg_integer()) :: Systemd.TransientUnit.Property.t()

Creates a CPU quota property in microseconds per second.

exec_start(path, argv, ignore_failure \\ false)

@spec exec_start(String.t(), [String.t()], boolean()) ::
  Systemd.TransientUnit.Property.t()

Creates an ExecStart property.

memory_max(bytes)

Creates a memory limit property such as MemoryMax.

property(name, signature, value)

Creates a typed transient-unit property.

string(name, value)

Creates a string property.

tasks_max(tasks)

Creates a task-count limit property such as TasksMax.

uint64(name, value)

Creates an unsigned 64-bit property.