Added passeneg manager. Part 5
This commit is contained in:
@@ -164,9 +164,16 @@ class PassengerWorker < Kernel::ModuleCoreWorker
|
||||
val = hestia_get_file_key_pair(dom_file, domain)
|
||||
result = Hash.new
|
||||
result["RUBY"] = val
|
||||
hestia_print_array_of_hashes(result, format, "RUBY")
|
||||
a_result = []
|
||||
a_result << result
|
||||
hestia_print_array_of_hashes(a_result, format, "RUBY")
|
||||
ACTION_OK
|
||||
end
|
||||
when "get_tpl_path"
|
||||
result = [{ "RUBY_TPL" => get_module_paydata_dir }]
|
||||
format = (args[1].nil? ? "shell" : args[1].strip)
|
||||
hestia_print_array_of_hashes(result, format, "RUBY_TPL")
|
||||
ACTION_OK
|
||||
else
|
||||
log_return("Unknown commands. #{args}")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user