Update restart.sh
Adjust the script format
This commit is contained in:
parent
8c05348f2c
commit
c3b000c3c3
|
@ -72,7 +72,7 @@ fi
|
||||||
Text5="服务启动成功!"
|
Text5="服务启动成功!"
|
||||||
Text6="服务启动失败!"
|
Text6="服务启动失败!"
|
||||||
if [[ $CpuArch =~ "x86_64" ]]; then
|
if [[ $CpuArch =~ "x86_64" ]]; then
|
||||||
nohup $Server_Dir/bin/clash-linux-amd64 -d $Conf_Dir &> $Log_Dir/clash.log &
|
nohup $Server_Dir/bin/clash-linux-amd64 -d $Conf_Dir &> $Log_Dir/clash.log &
|
||||||
ReturnStatus=$?
|
ReturnStatus=$?
|
||||||
if_success $Text5 $Text6 $ReturnStatus
|
if_success $Text5 $Text6 $ReturnStatus
|
||||||
elif [[ $CpuArch =~ "aarch64" || $CpuArch =~ "arm64" ]]; then
|
elif [[ $CpuArch =~ "aarch64" || $CpuArch =~ "arm64" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user