update wxedge
This commit is contained in:
parent
a098ba69d6
commit
f6efed8cbb
@ -2,7 +2,7 @@ module("luci.controller.wxedge", package.seeall)
|
|||||||
|
|
||||||
function index()
|
function index()
|
||||||
|
|
||||||
entry({'admin', 'services', 'wxedge'}, alias('admin', 'services', 'wxedge', 'client'), _('Wxedge'), 10)
|
entry({'admin', 'services', 'wxedge'}, alias('admin', 'services', 'wxedge', 'client'), _('wxedge'), 10)
|
||||||
entry({"admin", "services", "wxedge",'client'}, cbi("wxedge/status"), nil).leaf = true
|
entry({"admin", "services", "wxedge",'client'}, cbi("wxedge/status"), nil).leaf = true
|
||||||
|
|
||||||
entry({"admin", "services", "wxedge","status"}, call("get_container_status"))
|
entry({"admin", "services", "wxedge","status"}, call("get_container_status"))
|
||||||
|
@ -1,25 +1,28 @@
|
|||||||
msgid "The Wxedge service is running."
|
msgid "wxedge"
|
||||||
|
msgstr "网心云"
|
||||||
|
|
||||||
|
msgid "The wxedge service is running."
|
||||||
msgstr "网心云已启动"
|
msgstr "网心云已启动"
|
||||||
|
|
||||||
msgid "The Wxedge service is not running."
|
msgid "The wxedge service is not running."
|
||||||
msgstr "网心云服务未启动"
|
msgstr "网心云服务未启动"
|
||||||
|
|
||||||
msgid "The Wxedge service is not installed."
|
msgid "The wxedge service is not installed."
|
||||||
msgstr "网心云服务未安装"
|
msgstr "网心云服务未安装"
|
||||||
|
|
||||||
msgid "open Wxedge"
|
msgid "open wxedge"
|
||||||
msgstr "打开网心云"
|
msgstr "打开网心云"
|
||||||
|
|
||||||
msgid "stop Wxedge"
|
msgid "stop wxedge"
|
||||||
msgstr "停止网心云"
|
msgstr "停止网心云"
|
||||||
|
|
||||||
msgid "run Wxedge"
|
msgid "run wxedge"
|
||||||
msgstr "启动网心云"
|
msgstr "启动网心云"
|
||||||
|
|
||||||
msgid "uninstall Wxedge"
|
msgid "uninstall wxedge"
|
||||||
msgstr "删除网心云"
|
msgstr "删除网心云"
|
||||||
|
|
||||||
msgid "install Wxedge"
|
msgid "install wxedge"
|
||||||
msgstr "安装网心云"
|
msgstr "安装网心云"
|
||||||
|
|
||||||
msgid "Collecting data..."
|
msgid "Collecting data..."
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
config wxedge
|
config wxedge
|
||||||
option 'image' 'registry.cn-hangzhou.aliyuncs.com/onething/wxedge'
|
option 'image' 'registry.cn-hangzhou.aliyuncs.com/onething/wxedge:latest'
|
||||||
option 'cache_path' '/wxedge'
|
option 'cache_path' '/wxedge'
|
||||||
|
@ -12,8 +12,7 @@ install(){
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker run -d --name wxedge -e PLACE=CTKS --privileged --network=host --tmpfs /run --tmpfs /tmp -v "$cache:/storage:rw" --restart=always "$image_name"
|
docker run -d --name wxedge -e PLACE=CTKS --privileged --network=host --tmpfs /run --tmpfs /tmp -v $cache:/storage:rw --restart=always $image_name
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user