struct Obsctl::Config::ServerConfig

Overview

Local daemon options that affect server IPC and lifecycle behavior.

Defined in:

obsctl/config/config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(socket_path : String | Nil = nil, pid_file : String | Nil = nil, allow_remote_shutdown : Bool = false, start_embedded_if_missing : Bool = true) #

[View source]

Instance Method Detail

def allow_remote_shutdown : Bool #

def clone #

[View source]
def copy_with(socket_path _socket_path = @socket_path, pid_file _pid_file = @pid_file, allow_remote_shutdown _allow_remote_shutdown = @allow_remote_shutdown, start_embedded_if_missing _start_embedded_if_missing = @start_embedded_if_missing) #

[View source]
def pid_file : String | Nil #

def socket_path : String | Nil #

def start_embedded_if_missing : Bool #