You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/02/20 01:47:16 UTC

[GitHub] [apisix] tokers edited a comment on issue #3611: bug: Error will be reported when apisix starts , if which is not installed

tokers edited a comment on issue #3611:
URL: https://github.com/apache/apisix/issues/3611#issuecomment-782518706


   So we should detect whether the utility `which` exists in the system.
   
   https://github.com/apache/apisix/blob/master/bin/apisix#L35
   
   ```shell
   OR_BIN=$(which openresty || exit 1)
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org