fix: restore zapret2 worker startup, fast doctor check, and dnsmasq sync (1.3.20)

This commit is contained in:
Dushnilin
2026-09-04 16:47:08 +03:00
parent 6bedef4c77
commit 0cfc351d5a
16 changed files with 27 additions and 238 deletions
+3 -8
View File
@@ -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);
}