deploy.sh 286 B

12345678
  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 update-rc.d litemall defaults
  6. sudo update-rc.d litemall enable
  7. sudo service litemall start