class Service::Config

Defined in:

service/config.cr
service/openrc_config.cr
service/systemd_config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.from_openrc(data : String | IO) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def self.from_systemd(data : String | IO) #

[View source]

Instance Method Detail

def after : Set(String) #

[View source]
def after=(after : Set(String)) #

[View source]
def build_env_vars(io) #

[View source]
def build_env_vars : String #

[View source]
def command : String? #

[View source]
def command=(command : String?) #

[View source]
def description : String? #

[View source]
def description=(description : String?) #

[View source]
def directory : String? #

[View source]
def directory=(directory : String?) #

[View source]
def env_vars : Hash(String, String) #

[View source]
def env_vars=(env_vars : Hash(String, String)) #

[View source]
def group : String? #

[View source]
def group=(group : String?) #

[View source]
def log_error : String? #

[View source]
def log_error=(log_error : String?) #

[View source]
def log_output : String? #

[View source]
def log_output=(log_output : String?) #

[View source]
def parse_env_vars(env_vars : String) #

[View source]
def reload_signal : String? #

[View source]
def reload_signal=(reload_signal : String?) #

[View source]
def restart_delay : UInt32? #

[View source]
def restart_delay=(restart_delay : UInt32?) #

[View source]
def to_openrc(io : IO) : Nil #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def to_systemd(io : IO) : Nil #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def umask : String? #

[View source]
def umask=(umask : String?) #

[View source]
def user : String? #

[View source]
def user=(user : String?) #

[View source]