Skip to content

Commit

Permalink
service url location
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardTMiles committed Jan 25, 2025
1 parent 4a2d800 commit 345a169
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/assets/shell/deployUserDataScript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,17 @@ chmod 755 /etc/httpd/conf.d/
# Download Apache Sites Setup Script
chown -R apache:apache /var/www/
curl -o /home/apache/setup_apache_sites.sh \
"https://raw.githubusercontent.com/MilesSystems/aws-deployment/${1}/.github/assets/shell/setup_apache_sites.sh"
"https://raw.githubusercontent.com/MilesSystems/aws-deployment/${1}/.github/assets/shell/setupApacheSites.sh"
chmod +x /home/apache/setup_apache_sites.sh
cat /home/apache/setup_apache_sites.sh

# Download the failure service that would toggle the lifecycle hook downloaded earlier
curl -o /etc/systemd/system/aws_deployment_failure.service \
"https://raw.githubusercontent.com/MilesSystems/aws-deployment/${1}/.github/assets/system/aws_deployment_failure.service"
"https://raw.githubusercontent.com/MilesSystems/aws-deployment/${1}/.github/assets/service/aws_deployment_failure.service"

# Download the boot scripts service that runs the Apache Sites Setup Script
curl -o /etc/systemd/system/aws_deployment_boot_scripts.service \
"https://raw.githubusercontent.com/MilesSystems/aws-deployment/${1}/.github/assets/system/aws_deployment_boot_scripts.service"
"https://raw.githubusercontent.com/MilesSystems/aws-deployment/${1}/.github/assets/service/aws_deployment_boot_scripts.service"

# Run the Apache Sites Setup Script in a custom service
systemctl enable "aws_deployment_boot_scripts"
Expand Down

0 comments on commit 345a169

Please sign in to comment.