Create appspec.yaml

This commit is contained in:
lwj9812 2024-03-15 14:51:04 +09:00 committed by GitHub
parent 184ceed669
commit e8e96af699
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

21
appspec.yaml Normal file
View 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