Created
January 23, 2019 02:09
-
-
Save qlong8807/43e645576702cd022b070ab14f05d1a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh内容: | |
source ~/.bash_profile | |
killall java | |
nohup java -jar /root/springbootdemo/springbootdemo-0.0.1-SNAPSHOT.jar > nohup.log 2>&1 & | |
执行命令 | |
sh /root/sh/restart-springboot.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment