github.com/wanliu/go-oauth2-server@v0.0.0-20180817021415-f928fa1580df/appspec.yml (about)

     1  version: 0.0
     2  os: linux
     3  files:
     4    - source: oauth2-server-linux
     5      destination: /usr/src/app/oauth2-server
     6    - source: scripts/
     7      destination: /usr/src/app/oauth2-server/scripts
     8  hooks:
     9    ApplicationStart:
    10      - location: scripts/start.sh
    11        timeout: 300
    12        runas: root
    13    ApplicationStop:
    14      - location: scripts/stop.sh
    15        timeout: 300
    16        runas: root