fix: restore zapret2 worker startup, fast doctor check, and dnsmasq sync (1.3.20)
This commit is contained in:
@@ -114,9 +114,6 @@ function emit_reload_plan(previous, current, context) {
|
||||
else if (context.dnsmasq_managed_state)
|
||||
needs.dnsmasq_restore = true;
|
||||
}
|
||||
else if (!current.dont_touch_dhcp && context.dnsmasq_default_complete === false) {
|
||||
needs.dnsmasq_configure = true;
|
||||
}
|
||||
|
||||
if (changed.cron)
|
||||
needs.cron_refresh = true;
|
||||
@@ -229,8 +226,7 @@ function reload_plan() {
|
||||
dnsmasq_managed_state: arg_bool(ARGV[28]),
|
||||
has_list_update_sources: arg_bool(ARGV[29]),
|
||||
has_nft_list_update_sources: arg_bool(ARGV[30]),
|
||||
runtime_cache_needs_rebuild: arg_bool(ARGV[31]),
|
||||
dnsmasq_default_complete: length(ARGV) > 32 ? arg_bool(ARGV[32]) : true
|
||||
runtime_cache_needs_rebuild: arg_bool(ARGV[31])
|
||||
};
|
||||
|
||||
emit_reload_plan(previous, current, context);
|
||||
@@ -296,8 +292,7 @@ function plan_state_files() {
|
||||
dnsmasq_managed_state: arg_bool(ARGV[4]),
|
||||
has_list_update_sources: arg_bool(ARGV[5]),
|
||||
has_nft_list_update_sources: arg_bool(ARGV[6]),
|
||||
runtime_cache_needs_rebuild: arg_bool(ARGV[7]),
|
||||
dnsmasq_default_complete: length(ARGV) > 8 ? arg_bool(ARGV[8]) : true
|
||||
runtime_cache_needs_rebuild: arg_bool(ARGV[7])
|
||||
};
|
||||
|
||||
emit_reload_plan(previous, current, context);
|
||||
@@ -311,6 +306,6 @@ else if (mode == "plan-state-files")
|
||||
plan_state_files();
|
||||
else {
|
||||
warn("Usage: service/reload.uc plan ...\n");
|
||||
warn(" service/reload.uc plan-state-files <previous-state> <current-state> <force-reload> <dnsmasq-managed-state> <list-update-sources> <nft-list-update-sources> <runtime-cache-needs-rebuild> [dnsmasq-default-complete]\n");
|
||||
warn(" service/reload.uc plan-state-files <previous-state> <current-state> <force-reload> <dnsmasq-managed-state> <list-update-sources> <nft-list-update-sources> <runtime-cache-needs-rebuild>\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user