Added sample cloud_storage.conf to build dir and install script, changed production dir to symlink, added libretime ASCII art logo

This commit is contained in:
Robb Ebright 2017-03-04 19:44:01 -05:00
parent 9bac8354b6
commit 86b1fcbf7c
2 changed files with 19 additions and 7 deletions

View File

@ -0,0 +1,8 @@
[current_backend]
storage_backend=file
[amazon_S3]
provider=amazon_S3
bucket=0
api_key=0
api_key_secret=0

18
install
View File

@ -278,13 +278,13 @@ if [ -z web_root -a ! -d web_root ]; then
echo "$web_root doesn't exist!" echo "$web_root doesn't exist!"
exit 1 exit 1
fi fi
echo -e "\n.____ ._____. ___________.__ "
echo "| | |__\_ |_________ ___\__ ___/|__| _____ ____ "
echo "| | | || __ \_ __ \_/ __ \| | | |/ \_/ __ \ "
echo "| |___| || \_\ \ | \/\ ___/| | | | Y Y \ ___/ "
echo "|_______ \__||___ /__| \___ >____| |__|__|_| /\___ >"
echo -e " \/ \/ \/ \/ \/\n"
echo -e "\n _____ .________________________.___ _____ ___________ "
echo " / _ \ | \______ \__ ___/| | / \ \_ _____/ "
echo " / /_\ \| || _/ | | | |/ \ / \ | __)_ "
echo "/ | \ || | \ | | | / Y \| \ "
echo "\____|__ /___||____|_ / |____| |___\____|__ /_______ / "
echo -e " \/ \/ \/ \/ \n"
if [ "$ignore_dependencies" = "f" ]; then if [ "$ignore_dependencies" = "f" ]; then
set +e set +e
@ -608,8 +608,12 @@ if [ ! -d "/etc/airtime" ]; then
mkdir /etc/airtime mkdir /etc/airtime
verbose "\n * Creating /etc/airtime-saas/ directory..." verbose "\n * Creating /etc/airtime-saas/ directory..."
# Default saas directory for the analyzer, cloud storage, and celery # Default saas directory for the analyzer, cloud storage, and celery
mkdir -p /etc/airtime/production ln -s /etc/airtime/ /etc/airtime/production
# put the default cloud_storage.conf using local file storage into directory
cp ${AIRTIMEROOT}/airtime_mvc/build/cloud_storage.conf /etc/airtime/cloud_storage.conf
fi fi
chown -R ${web_user}:${web_user} /etc/airtime chown -R ${web_user}:${web_user} /etc/airtime
if [ ! -d "/srv/airtime" ]; then if [ ! -d "/srv/airtime" ]; then