mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-app-acme: Add Log reader
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
This commit is contained in:
committed by
Toke Høiland-Jørgensen
parent
8eb81267f0
commit
65d4b48710
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
'require tools.views as views';
|
||||
|
||||
return views.LogreadBox("acme", "acme");
|
||||
@@ -3,11 +3,27 @@
|
||||
"title": "ACME certificates",
|
||||
"order": 50,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "acme"
|
||||
"type": "alias",
|
||||
"path": "admin/services/acme/configure"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-acme" ]
|
||||
}
|
||||
},
|
||||
"admin/services/acme/configure": {
|
||||
"title": "Configure",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "acme/acme"
|
||||
}
|
||||
},
|
||||
"admin/services/acme/logread": {
|
||||
"title": "Log View",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "acme/logread"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
"file": {
|
||||
"/proc/sys/kernel/hostname": [ "read" ],
|
||||
"/etc/ssl/acme": [ "list" ],
|
||||
"/usr/libexec/acmesh-dnsinfo.sh": [ "exec" ]
|
||||
"/usr/libexec/acmesh-dnsinfo.sh": [ "exec" ],
|
||||
"/sbin/logread -e acme": [ "exec" ],
|
||||
"/usr/sbin/logread -e acme": [ "exec" ]
|
||||
},
|
||||
"uci": [ "acme" ]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user