update 2026-01-27 20:58:00

This commit is contained in:
kenzok8
2026-01-27 20:58:00 +08:00
parent 8743e021cf
commit 5144a4ea93
2 changed files with 10 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2009-2019 OpenWrt.org # Copyright (C) 2009-2026 OpenWrt.org
START=99 START=99
STOP=80 STOP=80
@@ -18,11 +18,16 @@ start_service() {
procd_close_instance procd_close_instance
} }
service_triggers() { extra_command "force_reload" "Forcibly reload configuration files"
procd_add_raw_trigger acme.renew 5000 /etc/init.d/haproxy reload force_reload() {
procd_send_signal haproxy '*' USR2
} }
extra_command "check" "Check haproxy config" extra_command "check" "Check haproxy config"
check() { check() {
$HAPROXY_BIN -c -q -V -f $HAPROXY_CONFIG $HAPROXY_BIN -c -q -V -f $HAPROXY_CONFIG
} }
service_triggers() {
procd_add_raw_trigger acme.renew 5000 /etc/init.d/haproxy force_reload
}

View File

@@ -21,13 +21,13 @@ define Download/geoip
HASH:=ed2de9add79623e2e5dbc5930ee39cc7037a7c6e0ecd58ba528b6f73d61457b5 HASH:=ed2de9add79623e2e5dbc5930ee39cc7037a7c6e0ecd58ba528b6f73d61457b5
endef endef
GEOSITE_VER:=20260127072504 GEOSITE_VER:=20260127085306
GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER) GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER)
define Download/geosite define Download/geosite
URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/ URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/
URL_FILE:=dlc.dat URL_FILE:=dlc.dat
FILE:=$(GEOSITE_FILE) FILE:=$(GEOSITE_FILE)
HASH:=e40dea000597ab4e2a4b4f4cd83ec66604022307ecc056f97de2ba87e60e4324 HASH:=7df2a8f397629b6b1ee0af3bd5b7728c7e2b978cdc83800db9ed2d9889d7376b
endef endef
GEOSITE_IRAN_VER:=202601260049 GEOSITE_IRAN_VER:=202601260049