struct

Obsctl::Service::SystemdUserService

Inherits Struct < Value < Object

Renders the systemd --user unit that runs obsctl server --headless.

Constants

SERVICE_NAME = "obsctl.service"

Constructors

new(executable_path : String)

Creates a unit renderer for an absolute obsctl executable path.

Source

Class methods

default_path(env = ENV) : String

Returns the default user service path for the supplied environment.

Source

Instance methods

executable_path
Source
render

Renders the complete service unit file.

Source