mirror of https://github.com/XTLS/Xray-install
Migration: modify the path to fit this repo
parent
bf00022008
commit
0e5f133240
|
@ -13,7 +13,7 @@ apk add curl
|
||||||
## Download
|
## Download
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -O https://raw.githubusercontent.com/XTLS/alpinelinux-install-xray/main/install-release.sh
|
curl -O https://raw.githubusercontent.com/XTLS/Xray-install/main/alpinelinux/install-release.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Use
|
## Use
|
||||||
|
|
|
@ -13,7 +13,7 @@ apk add curl
|
||||||
## 下载
|
## 下载
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -O https://raw.githubusercontent.com/XTLS/alpinelinux-install-xray/main/install-release.sh
|
curl -O https://raw.githubusercontent.com/XTLS/Xray-install/main/alpinelinux/install-release.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## 使用
|
## 使用
|
||||||
|
|
|
@ -13,7 +13,7 @@ apk add curl
|
||||||
## 下載
|
## 下載
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -O https://raw.githubusercontent.com/XTLS/alpinelinux-install-xray/main/install-release.sh
|
curl -O https://raw.githubusercontent.com/XTLS/Xray-install/main/alpinelinux/install-release.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## 使用
|
## 使用
|
||||||
|
|
|
@ -139,7 +139,7 @@ install_startup_service_file() {
|
||||||
OPENRC='0'
|
OPENRC='0'
|
||||||
if [ ! -f '/etc/init.d/xray' ]; then
|
if [ ! -f '/etc/init.d/xray' ]; then
|
||||||
mkdir "${TMP_DIRECTORY}init.d/"
|
mkdir "${TMP_DIRECTORY}init.d/"
|
||||||
curl -o "${TMP_DIRECTORY}init.d/xray" https://raw.githubusercontent.com/XTLS/alpinelinux-install-xray/main/init.d/xray -s
|
curl -o "${TMP_DIRECTORY}init.d/xray" https://raw.githubusercontent.com/XTLS/Xray-install/main/alpinelinux/init.d/xray -s
|
||||||
if [ "$?" -ne '0' ]; then
|
if [ "$?" -ne '0' ]; then
|
||||||
echo 'error: Failed to start service file download! Please check your network or try again.'
|
echo 'error: Failed to start service file download! Please check your network or try again.'
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue