mirror of
https://codeberg.org/YGGverse/psocks.git
synced 2026-03-31 16:35:28 +00:00
update RUST_LOG examples
This commit is contained in:
parent
ed2b91b75a
commit
250a7c03ef
1 changed files with 5 additions and 5 deletions
|
|
@ -14,7 +14,7 @@ Experimental async SOCKS5 (TCP/UDP) proxy server based on [fast-socks5](https://
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
RUST_LOG=psocks=trace cargo run -- -a=http://localhost/allow.txt \
|
RUST_LOG=trace cargo run -- -a=http://localhost/allow.txt \
|
||||||
-a=/path/to/allow.txt \
|
-a=/path/to/allow.txt \
|
||||||
-c=/path/to/cache.txt \
|
-c=/path/to/cache.txt \
|
||||||
no-auth
|
no-auth
|
||||||
|
|
@ -71,7 +71,7 @@ ExecStart=/usr/local/bin/psocks \
|
||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
Environment="RUST_LOG=warn"
|
Environment="RUST_LOG=psocks=warn"
|
||||||
Environment="NO_COLOR=1"
|
Environment="NO_COLOR=1"
|
||||||
|
|
||||||
StandardOutput=file:///var/log/psocks/debug.log
|
StandardOutput=file:///var/log/psocks/debug.log
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue