Skip to content

Commit

Permalink
modfiy start/stop openresty script
Browse files Browse the repository at this point in the history
  • Loading branch information
YazaiHu committed Dec 10, 2019
1 parent b080edf commit c5ff59f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 12 deletions.
21 changes: 15 additions & 6 deletions utils/abtesting.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@

rm *temp -rf

/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/nginx.conf
/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/stable.conf
/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/beta1.conf
/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/beta2.conf
/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/beta3.conf
/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/beta4.conf
#NGINX="/data/openresty1915/nginx/sbin/nginx"
NGINX="/usr/local/openresty/nginx/sbin/nginx"
$NGINX -p `pwd` -c conf/nginx.conf
$NGINX -p `pwd` -c conf/stable.conf
$NGINX -p `pwd` -c conf/beta1.conf
$NGINX -p `pwd` -c conf/beta2.conf
$NGINX -p `pwd` -c conf/beta3.conf
$NGINX -p `pwd` -c conf/beta4.conf

#/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/nginx.conf
#/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/stable.conf
#/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/beta1.conf
#/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/beta2.conf
#/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/beta3.conf
#/usr/local/openresty/nginx/sbin/nginx -p `pwd` -c conf/beta4.conf
21 changes: 15 additions & 6 deletions utils/stop-all-nginx.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
rm *temp -rf

/usr/local/nginx/sbin/nginx -p `pwd` -c conf/nginx.conf -s stop
/usr/local/nginx/sbin/nginx -p `pwd` -c conf/stable.conf -s stop
/usr/local/nginx/sbin/nginx -p `pwd` -c conf/beta1.conf -s stop
/usr/local/nginx/sbin/nginx -p `pwd` -c conf/beta2.conf -s stop
/usr/local/nginx/sbin/nginx -p `pwd` -c conf/beta3.conf -s stop
/usr/local/nginx/sbin/nginx -p `pwd` -c conf/beta4.conf -s stop
#NGINX="/data/openresty1915/nginx/sbin/nginx"
NGINX="/usr/local/openresty/nginx/sbin/nginx"
$NGINX -p `pwd` -c conf/nginx.conf -s stop
$NGINX -p `pwd` -c conf/stable.conf -s stop
$NGINX -p `pwd` -c conf/beta1.conf -s stop
$NGINX -p `pwd` -c conf/beta2.conf -s stop
$NGINX -p `pwd` -c conf/beta3.conf -s stop
$NGINX -p `pwd` -c conf/beta4.conf -s stop

#/usr/local/nginx/sbin/nginx -p `pwd` -c conf/nginx.conf -s stop
#/usr/local/nginx/sbin/nginx -p `pwd` -c conf/stable.conf -s stop
#/usr/local/nginx/sbin/nginx -p `pwd` -c conf/beta1.conf -s stop
#/usr/local/nginx/sbin/nginx -p `pwd` -c conf/beta2.conf -s stop
#/usr/local/nginx/sbin/nginx -p `pwd` -c conf/beta3.conf -s stop
#/usr/local/nginx/sbin/nginx -p `pwd` -c conf/beta4.conf -s stop

0 comments on commit c5ff59f

Please sign in to comment.