Skip to content

Commit eb2eb74

Browse files
committed
Adding instruction to use absolute paths in startup script
1 parent 4b5dcdc commit eb2eb74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/app-service/containers/configure-language-java.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Developers running a single application with one deployment slot in their App Se
135135

136136
When tuning application heap settings, review your App Service plan details and take into account multiple applications and deployment slot needs to find the optimal allocation of memory.
137137

138-
If you are deploying a JAR application, it should be named *app.jar* so that the built-in image can correctly identify your app. (The Maven plugin does this renaming automatically.) If you do not wish to rename your JAR to *app.jar*, you can upload a shell script with the command to run your JAR. Then paste the full path to this script in the [Startup File](app-service-linux-faq.md#built-in-images) textbox in the Configuration section of the portal.
138+
If you are deploying a JAR application, it should be named *app.jar* so that the built-in image can correctly identify your app. (The Maven plugin does this renaming automatically.) If you do not wish to rename your JAR to *app.jar*, you can upload a shell script with the command to run your JAR. Then paste the full path to this script in the [Startup File](app-service-linux-faq.md#built-in-images) textbox in the Configuration section of the portal. **Note:** The startup script does not run from the directory into which it is placed. Therefore, always use absolute paths to reference files in your startup script (e.g. `java -jar /home/myapp/myapp.jar`).
139139

140140
### Turn on web sockets
141141

0 commit comments

Comments
 (0)