struct
Obsctl::Service::SystemdUserService
- Obsctl::Service::SystemdUserService
- Struct
- Value
- Object
Overview
Renders the systemd --user unit that runs obsctl server --headless.
Defined in:
obsctl/service/systemd_user_service.crConstant Summary
-
SERVICE_NAME =
"obsctl.service"
Constructors
-
.new(executable_path : String)
Creates a unit renderer for an absolute obsctl executable path.
Class Method Summary
-
.default_path(env = ENV) : String
Returns the default user service path for the supplied environment.
Instance Method Summary
- #executable_path : String
-
#render : String
Renders the complete service unit file.
Constructor Detail
def self.new(executable_path : String)
#
Creates a unit renderer for an absolute obsctl executable path.
Class Method Detail
def self.default_path(env = ENV) : String
#
Returns the default user service path for the supplied environment.