fix:s99_name

This commit is contained in:
dichgrem
2025-09-23 13:29:16 +08:00
parent e2f0046fef
commit aa9ce7490c
2 changed files with 13 additions and 13 deletions

View File

@@ -24,11 +24,11 @@ function service_control()
if action then
local cmd = ""
if action == "start" then
cmd = "/etc/rc.d/zzz start"
cmd = "/etc/rc.d/S99zzz start"
elseif action == "stop" then
cmd = "/etc/rc.d/zzz stop"
cmd = "/etc/rc.d/S99zzz stop"
elseif action == "restart" then
cmd = "/etc/rc.d/zzz stop && sleep 2 && /etc/rc.d/zzz start"
cmd = "/etc/rc.d/S99zzz stop && sleep 2 && /etc/rc.d/S99zzz start"
end
if cmd ~= "" then