timyuer opened a new issue, #20784: URL: https://github.com/apache/doris/issues/20784
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 1.2.4.1 ### What's Wrong? The `PID_DIR` variable in the Doris stop script does not follow the conf file, like `stop_fe.sh` and `stop_be.sh`. When I set `PID_DIR` to another path (other than `DORIS_HOME`) in `fe.conf` or `be.conf`, `stop_fe.sh` and `stop_be.sh` still use `DORIS_HOME/bin` as `PID_DIR`. This is because the stop script lacks code to export the conf environment variable. ### What You Expected? When `PID_DIR` sets another path (not `DORIS_HOME`), the stop script can be used normally. ### How to Reproduce? 1. Add `PID_DIR=/var/run/doris-fe` to `fe.conf` 2. Then run `start_fe.sh` 3. run `stop_fe.sh` ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org