From b8a4328fcfa77621258d210dffc091353fcb1989 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Sat, 3 Feb 2024 22:06:36 +0200 Subject: luci-app-cloudflared: add Tunnels status page The page allows to see if the tunnel has connections. This can be used for a basic troubleshooting without opening the Cloudflare dashboard. Signed-off-by: Sergey Ponomarev --- .../root/usr/share/rpcd/acl.d/luci-app-cloudflared.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d') diff --git a/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json b/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json index 82a9a89a21..3013b35dba 100644 --- a/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json +++ b/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json @@ -6,7 +6,10 @@ "ubus": { "service": [ "list" ] }, - "file": [ "/var/log/cloudflared.log" ] + "file": { + "/var/log/cloudflared.log": [ "read" ], + "/usr/bin/cloudflared *": [ "exec" ] + } }, "write": { "uci": [ "cloudflared" ], -- cgit v1.2.3