Skip to content

Commit

Permalink
批量杀死nginx进程
Browse files Browse the repository at this point in the history
测试demo批量杀死nginx进程,方便
  • Loading branch information
20100507 authored Jul 20, 2018
1 parent e87e6e1 commit 75bd80c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utils/stop-all-nginx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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

0 comments on commit 75bd80c

Please sign in to comment.