mirror of
https://github.com/XTLS/Xray-install.git
synced 2025-12-10 02:09:52 +00:00
Fix:
* Check if logrotate@.timer exists before executing stop and disable. https://github.com/XTLS/Xray-install/pull/62#issuecomment-1661527981 Add: * Instructions on how to use 'logrotate' in the README.md and `help` command.
This commit is contained in:
@@ -48,10 +48,10 @@ Notice: Xray will NOT log to `/var/log/xray/*.log` by default. Configure `"log"`
|
||||
# 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`**
|
||||
**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
|
||||
# bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --logrotate $time
|
||||
```
|
||||
```
|
||||
installed: /etc/systemd/system/logrotate@.service
|
||||
|
||||
Reference in New Issue
Block a user