Update README.md

This commit is contained in:
RPRX 2021-02-24 13:16:51 +00:00 committed by GitHub
parent c394a9f050
commit ae6cede95a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ Notice: Xray will NOT log to `/var/log/xray/*.log` by default. Configure `"log"`
## Basic Usage ## Basic Usage
**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
@ -42,7 +42,7 @@ Notice: Xray will NOT log to `/var/log/xray/*.log` by default. Configure `"log"`
## Advance ## Advance
**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