startup.sh 215 B

1234567891011
  1. #!/bin/sh
  2. _APP_NAME="yolov3app"
  3. export LD_LIBRARY_PATH=$PATH:./lib/
  4. cd '/usr/app/3rdApp'
  5. chmod 777 "./bin/${_APP_NAME}"
  6. chown sshd:65534 ./bin/${_APP_NAME}
  7. chown -R sshd:65534 lib
  8. eval "./bin/${_APP_NAME}"
  9. exit 0