#!/bin/bash
ps -ef | grep nginx | gawk '{print$2}' | while read line
do
kill -s 9 $line
done
nginx -p /home/oupeng/github/Openresty/openresty-test/
杀死进程并重启Openresty
猜你喜欢
转载自blog.csdn.net/smilesundream/article/details/80364975
今日推荐
周排行