projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5657f77
)
cloudflared: support setting tunnel token
author
Scott McKenzie
<scott@noizyland.net>
Fri, 19 May 2023 17:38:27 +0000
(
03:38
+1000)
committer
Tianling Shen
<cnsztl@immortalwrt.org>
Wed, 21 Jun 2023 17:43:23 +0000
(
01:43
+0800)
Allows user to provide a token for Cloudflare tunnel.
When provided along with credentials, this will take precedence.
Signed-off-by: Scott McKenzie <scott@noizyland.net>
(cherry picked from commit
61106a8df299de5297e816d1f75fbb602382b60c
)
net/cloudflared/files/cloudflared.init
patch
|
blob
|
history
diff --git
a/net/cloudflared/files/cloudflared.init
b/net/cloudflared/files/cloudflared.init
index 4fac31aac43131b3e9de07378a0bf68ff653e0d0..466cb5eb3164fb7a61377420a8e73887c0cdd99a 100755
(executable)
--- a/
net/cloudflared/files/cloudflared.init
+++ b/
net/cloudflared/files/cloudflared.init
@@
-31,6
+31,7
@@
start_service() {
append_param_arg "logfile"
procd_append_param command "run"
+ append_param_arg "token"
procd_set_param respawn
procd_set_param stderr 1