From a8236989fc5b7b784d4a5788226caef3175526d3 Mon Sep 17 00:00:00 2001 From: prateerickaien <39169768+prateerickaien@users.noreply.github.com> Date: Sun, 28 Oct 2018 12:53:49 +0530 Subject: [PATCH 1/2] Update appspec.yml --- appspec.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appspec.yml b/appspec.yml index fd13dcc..4b0d5c2 100644 --- a/appspec.yml +++ b/appspec.yml @@ -2,12 +2,12 @@ version: 0.0 os: linux files: - source: / - destination: /var/www/html + destination: /usr/share/nginx/html permissions: - - object: /var/www/html + - object: /usr/share/nginx/html pattern: "**" - owner: apache - group: apache + owner: nginx + group: nginx mode: 755 type: - file From 5981a1a2f741673d73e940ef56ff6f7d75923f50 Mon Sep 17 00:00:00 2001 From: prateerickaien <39169768+prateerickaien@users.noreply.github.com> Date: Sun, 28 Oct 2018 12:54:46 +0530 Subject: [PATCH 2/2] Update appspec.yml --- appspec.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/appspec.yml b/appspec.yml index 4b0d5c2..8349bd2 100644 --- a/appspec.yml +++ b/appspec.yml @@ -11,12 +11,12 @@ permissions: mode: 755 type: - file -hooks: - BeforeInstall: - - location: scripts/installapache.sh - runas: root - - location: scripts/startapache.sh - runas: root - AfterInstall: - - location: scripts/restartapache.sh - runas: root +# hooks: +# BeforeInstall: +# - location: scripts/installapache.sh +# runas: root +# - location: scripts/startapache.sh +# runas: root +# AfterInstall: +# - location: scripts/restartapache.sh +# runas: root