Signed-off-by: Sergey Ponomarev <redacted>
--- /dev/null
+'use strict';
+'require tools.views as views';
+
+return views.LogreadBox("acme", "acme");
\ No newline at end of file
"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"
+ }
}
}
"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" ]
},