0

I made a sh script that is supposed to do a package installation. I specify to play this script in the start command but nothing happens. This script seems to be ignored. I’m on a net 7 linux service app.

enter image description here

dna
  • 486
  • 1
  • 9
  • 18

1 Answers1

0

enter image description here

  • As specified in this MS Doc, you need to provide the file path to be run for starting up the container with that page such as /home/site/deployments/tools/deploy.sh in the above highlighted startup command section.

  • Also, can provide in the format of dotnet <app_name>.dll which will be executed before the application starts and if the application is framework dependent.

  • I found the similar example here, practically provided by @ZebRawnsley that helps to solve your requirement and the command you have entered in Startup command box is similar to Python Shell Script command execution, where that procedure is also mentioned in this SO Thread for running the Shell Script before the application starts using Startup Command.

Pravallika KV
  • 2,415
  • 2
  • 2
  • 7