feat: update readme

This commit is contained in:
2025-04-04 09:15:32 +08:00
parent c5c0ab2dad
commit b2290db274

View File

@@ -22,3 +22,14 @@ Run as daemon:
rotate-put --file test-fifo --daemon --iden test [--continue-read]
```
For nginx:
```shell
mkfifo access.log
mkfifo error.log
```
```shell
./rotate-puts --daemon --file access.log --prefix nginx_access --continue-read --ident nginx_access
./rotate-puts --daemon --file error.log --prefix nginx_error --continue-read --ident nginx_error
```