07 May 2026
07:55 AM
- last edited on
11 May 2026
12:27 PM
by
MaciejNeumann
Hello community,
i am trying to onboard linux appservices with tomcat and java stack.
as i followed the documentation:
STEP 1: create environment variables:
DT_API_TOKEN="token" \ DT_INCLUDE="java" \
START_APP_CMD="/home/site/deployments/CustomSetup.sh"
STEP 2: Create a startup script file at /home/startup.sh
STEP 3: In the Azure Portal, go to Configuration → General settings → Startup Command and set: /home/startup.sh
Step 4: Restart App twice
contents of Step 2 of the process is below:
#!/bin/sh readonly installerWrapperInstallationPath=/tmp/installer-wrapper.sh readonly installerWrapperURL=https://internalstorage/oneagent-installer.sh (location at which client has saved the installer) wget -O $installerWrapperInstallationPath -q $installerWrapperURL sh $installerWrapperInstallationPath
i follow this and it didnt crash the application but there was no oneagent installed at all.
Featured Posts