Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
8219d12f
Commit
8219d12f
authored
Mar 27, 2019
by
Junling Bu
Browse files
chore: 脚本完善启动
parent
ccbfc62e
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/bin/deploy.sh
View file @
8219d12f
...
@@ -3,4 +3,6 @@
...
@@ -3,4 +3,6 @@
# 本脚本的作用是停止当前Spring Boot应用,然后再次部署
# 本脚本的作用是停止当前Spring Boot应用,然后再次部署
sudo
service litemall stop
sudo
service litemall stop
sudo ln
-f
-s
/home/ubuntu/deploy/litemall/litemall.jar /etc/init.d/litemall
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
sudo
service litemall start
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment