-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f4c393
commit 1c8a3f9
Showing
3 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
.github/assets/service/aws_deployment_root_finalize.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[Unit] | ||
Description=Finalize AWS Deployment (Signal Success and Set Permissions) | ||
After=aws_deployment_boot_scripts.service | ||
Requires=aws_deployment_boot_scripts.service | ||
PartOf=aws_deployment_boot_scripts.service | ||
OnFailure=aws_deployment_failure.service | ||
|
||
[Service] | ||
Type=oneshot | ||
KillMode=process | ||
User=root | ||
ExecStartPre=/usr/bin/chmod 755 /etc/httpd/conf.d/ | ||
ExecStartPre=/usr/bin/systemctl enable httpd | ||
ExecStartPre=/usr/bin/systemctl start httpd | ||
ExecStart=/var/aws-deployment/signalLifecycleAction.sh 0 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters