-
Notifications
You must be signed in to change notification settings - Fork 0
/
appspec.yml
45 lines (39 loc) · 1.08 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
version: 0.0
os: linux
files:
- source: AspNetCoreWebApplication/bin/release/netcoreapp3.1/
destination: /home/ec2-user/aspnetcoreapp
- source: AspNetCoreWebApplication/wwwroot/
destination: /home/ec2-user/aspnetcoreapp/wwwroot
- source: scripts/virtualhost.conf
destination: /home/ec2-user/aspnetcoreapp
- source: scripts/kestrel-aspnetcoreapp.service
destination: /etc/systemd/system/
- source: /requirements.txt
destination: /home/ec2-user
hooks:
ApplicationStop:
- location: scripts/stop_service
timeout: 300
runas: root
BeforeInstall:
- location: scripts/remove_application
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_httpd
timeout: 300
runas: root
- location: scripts/install_dotnetcore
timeout: 500
runas: root
ApplicationStart:
- location: scripts/start_service
timeout: 300
runas: root