diff --git a/README.md b/README.md index f7ee284..4bc895e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ AWS CodeDeploy Samples ====================== - +Welcome Page The samples in the repository each demonstrate one of a few different scenarios. These fall into one of a few different categories, including: diff --git a/applications/SampleApp_Linux/scripts/install_dependencies b/applications/SampleApp_Linux/scripts/install_dependencies index 3d37299..5e7de41 100755 --- a/applications/SampleApp_Linux/scripts/install_dependencies +++ b/applications/SampleApp_Linux/scripts/install_dependencies @@ -1,3 +1,3 @@ -#!/bin/bash +#! /bin/bash yum install -y httpd diff --git a/applications/SampleApp_Linux/scripts/start_server b/applications/SampleApp_Linux/scripts/start_server index 203194f..d7cd4a4 100755 --- a/applications/SampleApp_Linux/scripts/start_server +++ b/applications/SampleApp_Linux/scripts/start_server @@ -1,3 +1,3 @@ -#!/bin/bash +#! /bin/bash service httpd start diff --git a/applications/SampleApp_Linux/scripts/stop_server b/applications/SampleApp_Linux/scripts/stop_server index aef258b..c7de0f0 100755 --- a/applications/SampleApp_Linux/scripts/stop_server +++ b/applications/SampleApp_Linux/scripts/stop_server @@ -1,6 +1,4 @@ -#!/bin/bash -isExistApp=`pgrep httpd` -if [[ -n $isExistApp ]]; then - service httpd stop -fi +#! /bin/bash +service httpd stop +