diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2024-02-03 22:06:36 +0200 |
---|---|---|
committer | Paul Donald <itsascambutmailmeanyway@gmail.com> | 2024-02-07 15:47:10 +0100 |
commit | b8a4328fcfa77621258d210dffc091353fcb1989 (patch) | |
tree | 4e2b5eebcac883525118cd7f58c8613661c460a0 /applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d | |
parent | 4bbdf8d31eeb82ecf05751078d55a6e3ff842190 (diff) |
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 <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d')
-rw-r--r-- | applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json | 5 |
1 files changed, 4 insertions, 1 deletions
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" ], |