🍓 Sync 2026-11-12 02:30:31

This commit is contained in:
github-actions[bot] committed 2026-11-12 02:30:31 +08:00
1 parent 2bb7c60602
commit 3af4c76cd6
25 files changed
+59 -2628

No files matched your search

+11
View File
@@ -104,6 +104,17 @@ start_service() {
procd_close_instance
}
stop_service() {
# v2rayA normally removes its tproxy rules on SIGTERM, but a killed
# process or a proxy-only stop can leave them behind. Remove any
# residual state so stopping the service always restores connectivity.
nft delete table inet v2raya 2>/dev/null
ip rule del fwmark 0x40/0xc0 table 100 2>/dev/null
ip -6 rule del fwmark 0x40/0xc0 table 100 2>/dev/null
ip route flush table 100 2>/dev/null
ip -6 route flush table 100 2>/dev/null
}
reload_service() {
# v2rayA does not reload its configuration on SIGHUP; a restart is the
# only safe way to apply new UCI values.