发布命令
source /etc/profile
cd /home/rejoin/open-platform-service
./run.sh restart
命令解释:
1、加载环境变量
2、进入命令所在目录
3、执行命令
错误记录 : 不进入目录直接写死绝对路径 执行命令
/home/rejoin/open-platform-service/run.sh restart ,命令会执行,但是jar包不启动
发布命令
source /etc/profile
cd /home/rejoin/open-platform-service
./run.sh restart
命令解释:
1、加载环境变量
2、进入命令所在目录
3、执行命令
错误记录 : 不进入目录直接写死绝对路径 执行命令
/home/rejoin/open-platform-service/run.sh restart ,命令会执行,但是jar包不启动