struct Obsctl::Service::SystemdUserService

Overview

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

Defined in:

obsctl/service/systemd_user_service.cr

Constant Summary

SERVICE_NAME = "obsctl.service"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(executable_path : String) #

Creates a unit renderer for an absolute obsctl executable path.


[View source]

Class Method Detail

def self.default_path(env = ENV) : String #

Returns the default user service path for the supplied environment.


[View source]

Instance Method Detail

def executable_path : String #

[View source]
def render : String #

Renders the complete service unit file.


[View source]