🎈 Sync 2026-09-09 01:06:03

This commit is contained in:
github-actions[bot] committed 2026-09-09 01:06:03 +08:00
1 parent 6701c0a72f
commit 6dadf1e827
35 files changed
+5887

No files matched your search

@@ -0,0 +1,17 @@
config settings 'main'
option schema_version '3'
option enabled '0'
option active_mode 'none'
option auto_recover '1'
option manage_uhttpd_bind '0'
option manage_firewall '0'
option firewall_zone 'wan'
option firewall_conflict_mode 'warn'
option lan_bind_ip 'auto'
option wan_interface 'wan'
option wan_bind_ip 'auto'
option http_port '80'
option https_port '443'
option backup_dir '/root/haproxy-manager-backups'
option webhook_enabled '0'
option webhook_url ''
@@ -0,0 +1,11 @@
#!/bin/sh
case "${ACTION:-}" in
ifup|ifupdate) ;;
*) exit 0 ;;
esac
[ "${INTERFACE:-}" = "$(uci -q get haproxy_manager.main.wan_interface 2>/dev/null || echo wan)" ] || exit 0
[ -x /usr/libexec/haproxy-manager/recover ] || exit 0
/usr/libexec/haproxy-manager/recover "$ACTION" "${INTERFACE:-unknown}" >/dev/null 2>&1 &
exit 0