Created
July 31, 2012 13:50
-
-
Save boris/3217189 to your computer and use it in GitHub Desktop.
verification for rightscale scripts
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
#!/bin/bash | |
if test "$RS_REBOOT" = "true" ; then | |
echo "Skip Example script on reboot." | |
logger -t BaseServerConfigScript "Skipping on reboot." | |
exit 0 | |
fi | |
rm -rf /some/path | |
s3cmd get s3://path/to/your/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment