Update README.md (#18)

This commit is contained in:
kirin10000 2021-01-06 01:31:09 +08:00 committed by GitHub
parent e81eafaead
commit c0a32c3617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,19 +23,19 @@ installed: /etc/systemd/system/xray@.service
**Install & Upgrade Xray-core and geodata with User nobody, but will NOT overwrite User in existing service files** **Install & Upgrade Xray-core and geodata with User nobody, but will NOT overwrite User in existing service files**
``` ```
# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
``` ```
**Update geoip.dat and geosite.dat only** **Update geoip.dat and geosite.dat only**
``` ```
# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install-geodata # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install-geodata
``` ```
**Remove Xray, except json and logs** **Remove Xray, except json and logs**
``` ```
# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) remove # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove
``` ```
## Advance ## Advance
@ -43,23 +43,23 @@ installed: /etc/systemd/system/xray@.service
**Install & Upgrade Xray-core and geodata with User root, which will overwrite User in existing service files** **Install & Upgrade Xray-core and geodata with User root, which will overwrite User in existing service files**
``` ```
# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install -u root # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install -u root
``` ```
**Install & Upgrade Xray-core without geodata** **Install & Upgrade Xray-core without geodata**
``` ```
# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) install --without-geodata # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --without-geodata
``` ```
**Remove Xray, include json and logs** **Remove Xray, include json and logs**
``` ```
# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) remove --purge # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove --purge
``` ```
## More Usage ## More Usage
``` ```
# bash <(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh) help # bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ help
``` ```