Created
July 14, 2017 03:11
-
-
Save lihongjie0209/468cbc84391496445cc8d373a97ecb58 to your computer and use it in GitHub Desktop.
jetty 启动脚本 启动日志以及访问记录
This file contains 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
# 杀掉占用8080端口的进程 | |
fuser 8080/tcp -k | |
# 启动jetty | |
java -jar start.jar --module=requestlog,logging & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
本脚本适用于CentOS 7, 把本脚本放在jetty 安装目录下