Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

支持注入以windows服务方式运行的Java应用 #12

Closed
kylixs opened this issue Nov 19, 2019 · 0 comments
Closed

支持注入以windows服务方式运行的Java应用 #12

kylixs opened this issue Nov 19, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@kylixs
Copy link
Owner

kylixs commented Nov 19, 2019

参考Arthas项目的as-service.bat脚本,编写一个用于FlareAgent的服务脚本。
1)接受命令行参数,创建FlareAgent服务,服务binPath附带注入进程或者端口参数
2)启动FlareAgent服务,在服务会话执行脚本,将注入参数传递给start-agent-trace.bat / stop-agent-trace.bat

@kylixs kylixs added the enhancement New feature or request label Nov 20, 2019
@kylixs kylixs closed this as completed Nov 20, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant