commit
03667c2e55
2
start.sh
2
start.sh
|
@ -162,7 +162,7 @@ sed -r -i '/^secret: /s@(secret: ).*@\1'${Secret}'@g' $Conf_Dir/config.yaml
|
||||||
echo -e '\n正在启动Clash服务...'
|
echo -e '\n正在启动Clash服务...'
|
||||||
Text5="服务启动成功!"
|
Text5="服务启动成功!"
|
||||||
Text6="服务启动失败!"
|
Text6="服务启动失败!"
|
||||||
if [[ $CpuArch =~ "x86_64" ]]; then
|
if [[ $CpuArch =~ "x86_64" || $CpuArch =~ "amd64" ]]; 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user