Commit d7228768 authored by daidekun's avatar daidekun

修改默认目录

parent 826efb51
...@@ -23,7 +23,7 @@ config_file_name=$8 ...@@ -23,7 +23,7 @@ config_file_name=$8
db_backup_sub_folders=$9 db_backup_sub_folders=$9
port="" port=""
sync_config_folder=~/db_sync_configs sync_config_folder=/home/db_sync/db_sync_configs
base_config_file=$sync_config_folder/base_config.json base_config_file=$sync_config_folder/base_config.json
mkdir $db_backup_sub_folders mkdir $db_backup_sub_folders
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# ------------------------------------------------------------------------------- # -------------------------------------------------------------------------------
source ~/.bash_profile source ~/.bash_profile
source ~/.profile
if [ $# -ne 8 ]; then if [ $# -ne 8 ]; then
echo "---------------" echo "---------------"
...@@ -33,8 +34,8 @@ sync_db_name=$7 ...@@ -33,8 +34,8 @@ sync_db_name=$7
re_replace_ip=$8 re_replace_ip=$8
work_dir=/home/quant_group/qa-deploy-utils/db-utils work_dir=/home/quant_group/qa-deploy-utils/db-utils
sync_config_folder=~/db_sync_configs sync_config_folder=/home/db_sync/db_sync_configs
db_backup_folder=~/db_backups db_backup_folder=/home/db_sync/db_backups
function db_schema_sync() function db_schema_sync()
{ {
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
# ------------------------------------------------------------------------------- # -------------------------------------------------------------------------------
source ~/.bash_profile source ~/.bash_profile
source ~/.profile
work_dir=/home/quant_group/test-utils/db-utils work_dir=/home/quant_group/test-utils/db-utils
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment