From 8219d12fdbda012eda9033ff5ceab1959f6376a8 Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Wed, 27 Mar 2019 16:56:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=84=9A=E6=9C=AC=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/bin/deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/bin/deploy.sh b/deploy/bin/deploy.sh index cf3623b6..4105e33c 100644 --- a/deploy/bin/deploy.sh +++ b/deploy/bin/deploy.sh @@ -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 \ No newline at end of file