update wxedge

This commit is contained in:
YGAS 2021-11-01 15:30:33 +08:00
parent a098ba69d6
commit f6efed8cbb
4 changed files with 14 additions and 12 deletions

View File

@ -2,7 +2,7 @@ module("luci.controller.wxedge", package.seeall)
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","status"}, call("get_container_status"))

View File

@ -1,25 +1,28 @@
msgid "The Wxedge service is running."
msgid "wxedge"
msgstr "网心云"
msgid "The wxedge service is running."
msgstr "网心云已启动"
msgid "The Wxedge service is not running."
msgid "The wxedge service is not running."
msgstr "网心云服务未启动"
msgid "The Wxedge service is not installed."
msgid "The wxedge service is not installed."
msgstr "网心云服务未安装"
msgid "open Wxedge"
msgid "open wxedge"
msgstr "打开网心云"
msgid "stop Wxedge"
msgid "stop wxedge"
msgstr "停止网心云"
msgid "run Wxedge"
msgid "run wxedge"
msgstr "启动网心云"
msgid "uninstall Wxedge"
msgid "uninstall wxedge"
msgstr "删除网心云"
msgid "install Wxedge"
msgid "install wxedge"
msgstr "安装网心云"
msgid "Collecting data..."

View File

@ -1,3 +1,3 @@
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'

View File

@ -12,8 +12,7 @@ install(){
exit 1
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
}