Created
July 21, 2017 16:38
-
-
Save felipekm/489016629f1b765f3a01a50eebd16cdd to your computer and use it in GitHub Desktop.
CodeDeploy restarter
This file contains hidden or 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
# Stop the code deploy agent | |
sudo service codedeploy-agent stop | |
#clear all deployments under | |
cd /opt/codedeploy-agent/deployment-root | |
sudo rm -rf * | |
# Restart the code deploy agent | |
sudo service codedeploy-agent start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment