diff options
author | varac <varacanero@zeromail.org> | 2013-11-07 16:19:49 +0000 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-11-07 16:19:49 +0000 |
commit | 60bd316ffe3c65ebdca21c43ff52fd1aa77159e4 (patch) | |
tree | 573d3a26245661ef2f3a796f6fea14efe8d02965 | |
parent | 2a145d0f6d8721d6c79fe95cf79a684757388640 (diff) |
added /etc/leap/couchdb_scripts_defaults.conf as possible config file and EXCLUDE_DBS default var
-rw-r--r-- | couchdb_scripts_defaults.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/couchdb_scripts_defaults.conf b/couchdb_scripts_defaults.conf index 133feb7..22ba01e 100644 --- a/couchdb_scripts_defaults.conf +++ b/couchdb_scripts_defaults.conf @@ -19,5 +19,12 @@ couchdb_user=`cat $NETRC_FILE | cut -d ' ' -f 4` couchdb_pw=`cat $NETRC_FILE | cut -d ' ' -f 6` couchdb_auth_url="http://${couchdb_user}:${couchdb_pw}@127.0.0.1:5984" +# space separated list of excluded DBs for dumping +# checked by couchdb_dumpall.sh +EXCLUDE_DBS='' + # source custom defaults if present +[ -f "/etc/leap/couchdb_scripts_defaults.conf" ] && . "/etc/leap/couchdb_scripts_defaults.conf" [ -f "${HOME}/.couchdb_scripts_defaults.conf" ] && . "${HOME}/.couchdb_scripts_defaults.conf" +# don't edit below this line, or your custom variables will not +# properly override variables in this config file |