Update 'luasrc/model/cbi/seafile.lua'

main
ben 1 year ago
parent f7bb5ca92f
commit 6ab4858a30

@ -7,7 +7,7 @@ local seafile_model = require "luci.model.seafile"
local m, s, o
m = taskd.docker_map("seafile", "seafile", "/usr/libexec/apps/seafile/seafile.sh",
translate("seafile"),
translate("Seafile"),
translate("Seafile is an open-source, cross-platform file-hosting software system. Files are stored on a central server and can be synchronized with personal computers and mobile devices through apps.")
.. translate("Official website:") .. ' <a href=\"https://www.seafile.com/en/home/\" target=\"_blank\">https://www.seafile.com/en/home/</a>')
@ -35,8 +35,8 @@ local home = seafile_model.home()
o = s:option(Value, "config_path", translate("Config path").."<b>*</b>")
o.rmempty = false
o.datatype = "string"
o:value("/opt/docker2/compose/Config/Seafile", "/opt/docker2/compose/Config/Seafile")
o.default = "/opt/docker2/compose/Config/Seafile"
o:value("/opt/docker2/compose/seafile-app/config", "/opt/docker2/compose/seafile-app/config")
o.default = "//opt/docker2/compose/seafile-app/config"
local paths, default_path = seafile_model.find_paths(blocks, home, "Configs")
for _, val in pairs(paths) do

Loading…
Cancel
Save