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

13 行
428 B

  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. $SHELL deployment_script_common