Remove '#' from commands in README.md

This commit is contained in:
ahdiua 2023-08-13 13:24:48 +00:00 committed by yuhan6665
parent 80c46e1934
commit c93969886d

View file

@ -25,19 +25,19 @@ Notice: Xray will NOT log to `/var/log/xray/*.log` by default. Configure `"log"`
**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 -c "$(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 -c "$(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 -c "$(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
@ -45,13 +45,13 @@ Notice: Xray will NOT log to `/var/log/xray/*.log` by default. Configure `"log"`
**Install & Upgrade Xray-core to a pre-release version** **Install & Upgrade Xray-core to a pre-release version**
``` ```
# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --beta bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --beta
``` ```
**Install & Upgrade Xray-core and geodata with `logrotate`, `$time` can be in the format of 12:34:56** **Install & Upgrade Xray-core and geodata with `logrotate`, `$time` can be in the format of 12:34:56**
``` ```
# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --logrotate $time bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --logrotate $time
``` ```
``` ```
installed: /etc/systemd/system/logrotate@.service installed: /etc/systemd/system/logrotate@.service
@ -63,25 +63,25 @@ installed: /etc/logrotate.d/xray
**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 -c "$(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 -c "$(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 -c "$(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 -c "$(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
``` ```
## Stargazers over time ## Stargazers over time