mirror of
https://github.com/EtherDream/jsproxy
synced 2024-11-21 17:37:58 +00:00
路径简化
This commit is contained in:
parent
57e1e22061
commit
ef93a94ee7
8
run.sh
8
run.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user