Skip to content

Commit

Permalink
chore: update appspac permission
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsu4755 committed Jul 10, 2023
1 parent 0c432ea commit 850f7c3
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions appspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,16 @@ files:
destination: /home/ubuntu/uni-sparkle-deploy/uni-sparkle
overwrite: yes

permissions:
- object: /home/ubuntu/uni-sparkle-deploy/uni-sparkle/script
pattern: "**"
owner: ubuntu
mode: 755
group: ubuntu

hooks:
ApplicationStart:
- location: scripts/run_new.sh
timeout: 180
runas: ubuntu
runas: root

- location: scripts/health_check.sh
timeout: 180
runas: ubuntu
runas: root

- location: scripts/switch.sh
timeout: 180
runas: ubuntu
runas: root

0 comments on commit 850f7c3

Please sign in to comment.