Skip to content

Instantly share code, notes, and snippets.

@lihongjie0209
Created July 14, 2017 03:11
Show Gist options
  • Save lihongjie0209/468cbc84391496445cc8d373a97ecb58 to your computer and use it in GitHub Desktop.
Save lihongjie0209/468cbc84391496445cc8d373a97ecb58 to your computer and use it in GitHub Desktop.
jetty 启动脚本 启动日志以及访问记录
# 杀掉占用8080端口的进程
fuser 8080/tcp -k
# 启动jetty
java -jar start.jar --module=requestlog,logging &
@lihongjie0209
Copy link
Author

本脚本适用于CentOS 7, 把本脚本放在jetty 安装目录下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment