Automatically exported from code.google.com/p/planningalerts
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

deployment_script_haggis 473 B

1234567891011121314
  1. #!/usr/local/bin/bash
  2. export PLANNING_ROOT="/data/vhost/www.planningalerts.com/"
  3. export PLANNING_BACKUPS="$PLANNING_ROOT/backups/"
  4. export DEPLOYMENT_LOG_DIRECTORY="$PLANNING_ROOT/logs/"
  5. export DEPLOYMENT_LOG="$DEPLOYMENT_LOG_DIRECTORY/deployment_log"
  6. export BACKUP_DIRECTORY_NAME="planningalerts_backup_`date +%F_%Hh%Mm%Ss`"
  7. export BACKUP_DIRECTORY="$PLANNING_BACKUPS$BACKUP_DIRECTORY_NAME/"
  8. export TEAM_EMAIL="team@planningalerts.com"
  9. $SHELL deployment_script_common