From b1797fa54404000ec2cbf9b7df8b9e00312553e0 Mon Sep 17 00:00:00 2001 From: vicanso Date: Sat, 13 Apr 2024 20:26:43 +0800 Subject: [PATCH] docs: update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3c6660bb..9550a631 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ A reverse proxy like nginx, built on [pingora](https://github.com/cloudflare/pin Loads all configurations from `/opt/proxy` and run in the background. Log appends to `/opt/proxy/pingap.log`. ```bash -RUST_LOG=INFO pingap -c=/opt/proxy/pingap.toml -d --log=/opt/proxy/pingap.log +RUST_LOG=INFO pingap -c=/opt/proxy -d --log=/opt/proxy/pingap.log ``` ## Graceful restart @@ -26,9 +26,9 @@ RUST_LOG=INFO pingap -c=/opt/proxy/pingap.toml -d --log=/opt/proxy/pingap.log Validate the configurations, send quit signal to pingap, then start a new process to handle all requests. ```bash -RUST_LOG=INFO pingap -c=/opt/proxy/pingap.toml -t \ +RUST_LOG=INFO pingap -c=/opt/proxy -t \ && pkill -SIGQUIT pingap \ - && RUST_LOG=INFO pingap -c=/opt/proxy/pingap.toml -d -u --log=/opt/proxy/pingap.log + && RUST_LOG=INFO pingap -c=/opt/proxy -d -u --log=/opt/proxy/pingap.log ``` ## Config