sheel 脚本

reload.sh 平滑重启

1
2
3
4
5
echo "loading..."
pid = `pidof live_master`
echo $pid
kill -USR1 $pid
echo '"loading success'