-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappspec.yml
More file actions
33 lines (33 loc) · 807 Bytes
/
appspec.yml
File metadata and controls
33 lines (33 loc) · 807 Bytes
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
version: 0.0
os: linux
files:
- source: /server.js
destination: /home/ec2-user/express-service
- source: /package.json
destination: /home/ec2-user/express-service
- source: /node_modules
destination: /home/ec2-user/express-service/node_modules
- source: /scripts/requirements.txt
destination: /home/ec2-user/scripts
hooks:
AfterInstall:
- location: scripts/install_python3
timeout: 300
runas: root
- location: scripts/codestar_remote_access
timeout: 300
runas: root
- location: scripts/install_node
timeout: 300
runas: root
- location: scripts/install_httpd
timeout: 300
runas: root
ApplicationStart:
- location: scripts/start_server
timeout: 300
runas: root
ApplicationStop:
- location: scripts/stop_server
timeout: 300
runas: root