-
Notifications
You must be signed in to change notification settings - Fork 0
/
appspec.yml
46 lines (46 loc) · 1.29 KB
/
appspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: 0.0
os: linux
files:
- source: /config.ru
destination: /home/ec2-user/ruby-on-rails
- source: /Gemfile
destination: /home/ec2-user/ruby-on-rails
- source: /Rakefile
destination: /home/ec2-user/ruby-on-rails
- source: /README.md
destination: /home/ec2-user/ruby-on-rails
- source: /app/
destination: /home/ec2-user/ruby-on-rails/app
- source: /config/
destination: /home/ec2-user/ruby-on-rails/config
- source: /db/
destination: /home/ec2-user/ruby-on-rails/db
- source: /log/
destination: /home/ec2-user/ruby-on-rails/log
- source: /vendor/
destination: /home/ec2-user/ruby-on-rails/vendor
- source: /public/
destination: /home/ec2-user/ruby-on-rails/public
- source: /scripts/requirements.txt
destination: /home/ec2-user/scripts
- source: /scripts/passenger_start
destination: /home/ec2-user/scripts
hooks:
ApplicationStop:
- location: scripts/stop_server
timeout: 300
runas: root
AfterInstall:
- location: scripts/install_python3
timeout: 300
runas: root
- location: scripts/codestar_remote_access
timeout: 300
runas: root
- location: scripts/install_ruby
timeout: 300
runas: root
ApplicationStart:
- location: scripts/start_server
timeout: 300
runas: root