From 63aaf8b5f2c4aa5bf7305e5483bf13726c9a709c Mon Sep 17 00:00:00 2001 From: Mohit Sharma Date: Thu, 21 Jan 2021 15:05:19 +1100 Subject: [PATCH] Create app-spec config file --- app-specification.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app-specification.yml diff --git a/app-specification.yml b/app-specification.yml new file mode 100644 index 0000000..7f0cdf9 --- /dev/null +++ b/app-specification.yml @@ -0,0 +1,18 @@ +version: 0.0 +os: linux +files: + - source: /index.html + destination: /var/www/html/ +hooks: + BeforeInstall: + - location: scripts/install_dependencies + timeout: 300 + runas: root + - location: scripts/start_server + timeout: 300 + runas: root + ApplicationStop: + - location: scripts/stop_server + timeout: 300 + runas: root +