c1b9ea2d9c
This package allows to automatically switch to another domain, either at a given point in time or after the node was offline long enough.
7 lines
371 B
Lua
7 lines
371 B
Lua
if need_table(in_domain({'domain_switch'}), check_domain_switch, 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
|