Skip to content

Commit

Permalink
chore: appspec 수정 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunmin0317 committed Nov 8, 2024
1 parent 394f543 commit 4850a5e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions appspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@ os: linux

files:
- source: /
destination: /home/ec2-user/smunity-web
destination: /home/ubuntu/smunity-web
overwrite: yes

permissions:
- object: /home/ec2-user/smunity-web
owner: ec2-user
group: ec2-user
- object: /home/ubuntu/smunity-web
owner: ubuntu
group: ubuntu
mode: 755

hooks:
AfterInstall:
- location: 'service nginx restart'
timeout: 60
runas: root

0 comments on commit 4850a5e

Please sign in to comment.