Update install.sh

This commit is contained in:
wnlen
2026-03-15 15:21:05 +08:00
parent 9858d27216
commit 4ea89a8e8f

View File

@ -5,7 +5,7 @@ set -euo pipefail
# 基础参数 # 基础参数
# ========================= # =========================
Server_Dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) Server_Dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
Install_Dir="${CLASH_INSTALL_DIR:-/opt/clash-for-linux}" Install_Dir="${CLASH_INSTALL_DIR:-$Server_Dir}"
Service_Name="clash-for-linux" Service_Name="clash-for-linux"
Service_User="root" Service_User="root"
Service_Group="root" Service_Group="root"