https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/configure-tunnels/tunnel-run-parameters/
Close #24122
Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
(cherry picked from commit
31c91837f9f171828ef6d4bd1e1867f4c593e2cc)
[rebased upon 23.05 branch]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
PKG_NAME:=cloudflared
PKG_VERSION:=2024.4.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/cloudflare/cloudflared/tar.gz/$(PKG_VERSION)?
option token ''
option config '/etc/cloudflared/config.yml'
option origincert '/etc/cloudflared/cert.pem'
+ option edge-bind-address 'auto'
+ option protocol 'auto'
option region ''
+ option retries '5'
option loglevel 'info'
option logfile '/var/log/cloudflared.log'
append_param_arg "config" "/etc/cloudflared/config.yml"
append_param_arg "origincert" "/etc/cloudflared/cert.pem"
+ append_param_arg "edge-bind-address"
+ append_param_arg "protocol"
append_param_arg "region"
+ append_param_arg "retries"
append_param_arg "loglevel"
append_param_arg "logfile"