路径简化

This commit is contained in:
zjcqoo 2019-05-14 10:25:20 +08:00
parent 57e1e22061
commit ef93a94ee7

8
run.sh
View File

@ -1,10 +1,4 @@
NGX_BIN=/home/jsproxy/openresty/nginx/sbin/nginx NGX_BIN=$HOME/openresty/nginx/sbin/nginx
# local test
if [ ! -f $NGX_BIN ]; then
NGX_BIN=/usr/local/openresty/nginx/sbin/nginx
fi
CUR_DIR=$(cd `dirname $0` && pwd) CUR_DIR=$(cd `dirname $0` && pwd)
if [ $1 ]; then if [ $1 ]; then