Method: Restic::Service::Conf#initialize

Defined in:
lib/restic/service/conf.rb

#initialize(conf_path) ⇒ Conf



132
133
134
135
136
137
138
139
140
# File 'lib/restic/service/conf.rb', line 132

def initialize(conf_path)
    @conf_path = conf_path
    @targets = Hash.new
    @period  = 3600
    @tools   = Hash.new
    TOOLS.each do |tool_name|
        @tools[tool_name] = find_in_path(tool_name)
    end
end