gluon/package/gluon-scheduled-domain-switch/check_site.lua

7 lines
355 B
Lua
Raw Permalink Normal View History

2019-06-16 18:06:45 +00:00
if need_table(in_domain({'domain_switch'}), nil, false) then
need_domain_name(in_domain({'domain_switch', 'target_domain'}))
need_number(in_domain({'domain_switch', 'switch_after_offline_mins'}))
need_number(in_domain({'domain_switch', 'switch_time'}))
need_string_array_match(in_domain({'domain_switch', 'connection_check_targets'}), '^[%x:]+$')
end