Skip to content

Instantly share code, notes, and snippets.

@lachlanagnew
Created February 20, 2019 01:22
Show Gist options
  • Save lachlanagnew/ea632d3a02bb95bf7ca438c268d38b49 to your computer and use it in GitHub Desktop.
Save lachlanagnew/ea632d3a02bb95bf7ca438c268d38b49 to your computer and use it in GitHub Desktop.
#!/bin/bash
HOME=/home/ubuntu
LOG=$HOME/deploy.log
# verify that the application directory has the correct owner/group
/usr/bin/sudo /bin/chown -R ubuntu:ubuntu /home/ubuntu/App
echo -e "Done" >> $LOG
/bin/echo "$(date '+%Y-%m-%d %X'): ** After Install Hook Completed **" >> $LOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment