mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-12 04:17:51 +08:00
🚀 Sync 2026-05-09 20:23:17
This commit is contained in:
1 parent
f50deeada1
commit
f01696532e
39 files changed
+473
-889
No files matched your search
@@ -188,12 +188,6 @@ local function start()
|
||||
config = require(require_dir .. "util_hysteria2").gen_config_server(user)
|
||||
end
|
||||
bin = ln_run(api.get_app_path("hysteria"), "hysteria", "-c " .. config_file .. " server", log_path)
|
||||
elseif type == "Trojan" then
|
||||
config = require(require_dir .. "util_trojan").gen_config_server(user)
|
||||
bin = ln_run("/usr/sbin/trojan", "trojan", "-c " .. config_file, log_path)
|
||||
elseif type == "Trojan-Plus" then
|
||||
config = require(require_dir .. "util_trojan").gen_config_server(user)
|
||||
bin = ln_run("/usr/sbin/trojan-plus", "trojan-plus", "-c " .. config_file, log_path)
|
||||
end
|
||||
|
||||
if next(config) then
|
||||
|
||||
Reference in new issue
Block a user