mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-04 13:57:45 +08:00
update 2026-01-27 20:58:00
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2009-2019 OpenWrt.org
|
||||
# Copyright (C) 2009-2026 OpenWrt.org
|
||||
|
||||
START=99
|
||||
STOP=80
|
||||
@@ -18,11 +18,16 @@ start_service() {
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
procd_add_raw_trigger acme.renew 5000 /etc/init.d/haproxy reload
|
||||
extra_command "force_reload" "Forcibly reload configuration files"
|
||||
force_reload() {
|
||||
procd_send_signal haproxy '*' USR2
|
||||
}
|
||||
|
||||
extra_command "check" "Check haproxy config"
|
||||
check() {
|
||||
$HAPROXY_BIN -c -q -V -f $HAPROXY_CONFIG
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
procd_add_raw_trigger acme.renew 5000 /etc/init.d/haproxy force_reload
|
||||
}
|
||||
|
||||
@@ -21,13 +21,13 @@ define Download/geoip
|
||||
HASH:=ed2de9add79623e2e5dbc5930ee39cc7037a7c6e0ecd58ba528b6f73d61457b5
|
||||
endef
|
||||
|
||||
GEOSITE_VER:=20260127072504
|
||||
GEOSITE_VER:=20260127085306
|
||||
GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER)
|
||||
define Download/geosite
|
||||
URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/
|
||||
URL_FILE:=dlc.dat
|
||||
FILE:=$(GEOSITE_FILE)
|
||||
HASH:=e40dea000597ab4e2a4b4f4cd83ec66604022307ecc056f97de2ba87e60e4324
|
||||
HASH:=7df2a8f397629b6b1ee0af3bd5b7728c7e2b978cdc83800db9ed2d9889d7376b
|
||||
endef
|
||||
|
||||
GEOSITE_IRAN_VER:=202601260049
|
||||
|
||||
Reference in New Issue
Block a user