deploy.sh 218 B

123456
  1. #!/bin/bash
  2. # 本脚本的作用是停止当前Spring Boot应用,然后再次部署
  3. sudo service litemall stop
  4. sudo ln -f -s /home/ubuntu/deploy/litemall/litemall.jar /etc/init.d/litemall
  5. sudo service litemall start