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:
aadc8d0
)
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@gmail.com>
Sat, 20 May 2023 05:04:04 +0000
(13:04 +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>
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