From ef93a94ee7dec0b6cc0e732f1ded327d2dda162e Mon Sep 17 00:00:00 2001 From: zjcqoo Date: Tue, 14 May 2019 10:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E5=BE=84=E7=AE=80=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/run.sh b/run.sh index d795821..54f00d5 100755 --- a/run.sh +++ b/run.sh @@ -1,10 +1,4 @@ -NGX_BIN=/home/jsproxy/openresty/nginx/sbin/nginx - -# local test -if [ ! -f $NGX_BIN ]; then - NGX_BIN=/usr/local/openresty/nginx/sbin/nginx -fi - +NGX_BIN=$HOME/openresty/nginx/sbin/nginx CUR_DIR=$(cd `dirname $0` && pwd) if [ $1 ]; then