chore: 脚本完善启动

This commit is contained in:
Junling Bu
2019-03-27 16:56:27 +08:00
parent ccbfc62ee8
commit 8219d12fdb

View File

@@ -3,4 +3,6 @@
# 本脚本的作用是停止当前Spring Boot应用然后再次部署
sudo service litemall stop
sudo ln -f -s /home/ubuntu/deploy/litemall/litemall.jar /etc/init.d/litemall
sudo update-rc.d litemall defaults
sudo update-rc.d litemall enable
sudo service litemall start