From 7f9d6114a566e7a2d50d27ae021c55feb8111f3a Mon Sep 17 00:00:00 2001 From: vargha1 <111444847+vargha1@users.noreply.github.com> Date: Thu, 6 Oct 2022 18:02:24 +0330 Subject: [PATCH] Update install.sh --- install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index d6ffd104e3..4bb5f7ea87 100755 --- a/install.sh +++ b/install.sh @@ -103,7 +103,7 @@ config_after_install() { } install_x-ui() { - systemctl stop x-ui + service x-ui stop cd /usr/local/ if [ $# == 0 ]; then @@ -148,9 +148,8 @@ install_x-ui() { #echo -e "" #echo -e "如果是更新面板,则按你之前的方式访问面板" #echo -e "" - systemctl daemon-reload - systemctl enable x-ui - systemctl start x-ui + chkconfig x-ui on + service x-ui start echo -e "${green}x-ui v${last_version}${plain} 安装完成,面板已启动," echo -e "" echo -e "x-ui 管理脚本使用方法: "