From 54a9c4f5847939b77f6d9684b57705cec0d6ef33 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sun, 6 Sep 2020 12:07:23 +0800 Subject: [PATCH] luci-app-ssr-plus: sync with upstream source --- .../luasrc/model/cbi/shadowsocksr/servers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua b/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua index 816c82419a..3360cee4e6 100644 --- a/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua +++ b/package/lean/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/servers.lua @@ -70,7 +70,7 @@ o.write = function() end) uci:save("shadowsocksr") uci:commit("shadowsocksr") - luci.sys.exec("/etc/init.d/shadowsocksr restart") + luci.sys.exec("/etc/init.d/shadowsocksr restart &") luci.http.redirect(luci.dispatcher.build_url("admin", "services", "shadowsocksr", "servers")) return end @@ -119,7 +119,7 @@ node.write = function(self, section) uci:set("shadowsocksr", '@global[0]', 'global_server', section) uci:save("shadowsocksr") uci:commit("shadowsocksr") - luci.sys.exec("/etc/init.d/shadowsocksr restart") + luci.sys.exec("/etc/init.d/shadowsocksr restart &") luci.http.redirect(luci.dispatcher.build_url("admin", "services", "shadowsocksr", "client")) end