SoberChina closed pull request #1328: Modify the document URL: https://github.com/apache/incubator-skywalking/pull/1328
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/docs/cn/Deploy-skywalking-agent-CN.md b/docs/cn/Deploy-skywalking-agent-CN.md index d4c928b5a0..4c673b00f6 100644 --- a/docs/cn/Deploy-skywalking-agent-CN.md +++ b/docs/cn/Deploy-skywalking-agent-CN.md @@ -79,5 +79,11 @@ CATALINA_OPTS="$CATALINA_OPTS -javaagent:/path/to/skywalking-agent/skywalking-ag - Tomcat 8 修改`tomcat/bin/catalina.sh`,在首行加入如下信息 ```shell -set "CATALINA_OPTS=... -javaagent:E:\apache-tomcat-8.5.20\skywalking-agent\skywalking-agent.jar" -``` \ No newline at end of file +set "CATALINA_OPTS=-javaagent:/path/to/skywalking-agent/skywalking-agent.jar" +``` +- Spring Boot JAR 部署 +修改启动命令 + ```shell + java -javaagent:/path/to/skywalking-agent/skywalking-agent.jar -jar youProject.jar + ``` +> windows path eg: `E:\apache-tomcat-8.5.20\skywalking-agent\skywalking-agent.jar` \ No newline at end of file diff --git a/docs/en/Deploy-skywalking-agent.md b/docs/en/Deploy-skywalking-agent.md index d3352463e3..764580c927 100644 --- a/docs/en/Deploy-skywalking-agent.md +++ b/docs/en/Deploy-skywalking-agent.md @@ -39,5 +39,11 @@ CATALINA_OPTS="$CATALINA_OPTS -javaagent:/path/to/skywalking-agent/skywalking-ag - Tomcat 8 Change the first line of `tomcat/bin/catalina.sh`. ```shell -set "CATALINA_OPTS=-javaagent:E:\apache-tomcat-8.5.20\skywalking-agent\skywalking-agent.jar" -``` \ No newline at end of file +set "CATALINA_OPTS=-javaagent:/path/to/skywalking-agent/skywalking-agent.jar" +``` +- Spring Boot JAR file +Change the boot command + ```shell + java -javaagent:/path/to/skywalking-agent/skywalking-agent.jar -jar youProject.jar + ``` +> windows path eg: `E:\apache-tomcat-8.5.20\skywalking-agent\skywalking-agent.jar` \ No newline at end of file ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services