#! /bin/bash #默认进入的是登录用户的目录 cd test/bee tar -xzvf beepkg.tar.gz #remove conf of dev rm -rf conf/app.conf cp conf/app.conf.bat conf/app.conf supervisorctl restart beepkg