mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
Create appspec.yaml
This commit is contained in:
parent
184ceed669
commit
e8e96af699
1 changed files with 21 additions and 0 deletions
21
appspec.yaml
Normal file
21
appspec.yaml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
version: 0.0
|
||||||
|
os: linux
|
||||||
|
files:
|
||||||
|
- source: /
|
||||||
|
destination: /home/ubuntu
|
||||||
|
overwrite: yes
|
||||||
|
file_exists_behavior: OVERWRITE
|
||||||
|
permissions:
|
||||||
|
- object: /home/ubuntu
|
||||||
|
pattern: "**"
|
||||||
|
owner: ubuntu
|
||||||
|
group: ubuntu
|
||||||
|
hooks:
|
||||||
|
ApplicationStop:
|
||||||
|
- location: deploy/scripts/kill_process.sh
|
||||||
|
timeout: 100
|
||||||
|
runas: ubuntu
|
||||||
|
ApplicationStart:
|
||||||
|
- location: deploy/scripts/run_process.sh
|
||||||
|
timeout: 3600
|
||||||
|
runas: ubuntu
|
Loading…
Reference in a new issue