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
1 changed files with 2 additions and 2 deletions

View File

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